|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.core.utils.IpListFromUrl
public class IpListFromUrl
Convenience class for generating a list of IP addresses from a file URL.
| Constructor Summary | |
|---|---|
IpListFromUrl()
|
|
| Method Summary | |
|---|---|
static java.util.List |
parse(java.lang.String url)
This method is used to read all interfaces from an URL file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IpListFromUrl()
| Method Detail |
|---|
public static java.util.List parse(java.lang.String url)
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.
url - The url file to read
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||