public class IncludeURL extends Object
IncludeURL class.
Constructor and Description |
---|
IncludeURL(String urlName)
Constructor for IncludeURL.
|
Modifier and Type | Method and Description |
---|---|
void |
createIpList() |
List<String> |
getIpList()
getIpList
|
String |
getName()
getName
|
boolean |
interfaceInUrl(String addr)
This method is used to determine if the named interface is included in
the passed package's url includes.
|
void |
setIpList(List<String> ipList)
setIpList
|
public boolean interfaceInUrl(String addr)
The file URL is read and each entry in this file checked. Each line in the URL file can be one of - <IP><space>#<comments> or <IP> or #<comments> Lines starting with a '#' are ignored and so are characters after a '<space>#' in a line.
addr
- The interface to test against the package's URLpublic void createIpList()
Copyright © 2017. All rights reserved.