public abstract class IpListFromUrl extends Object
Constructor and Description |
---|
IpListFromUrl() |
Modifier and Type | Method and Description |
---|---|
static List<String> |
fetch(String url)
This method is used to read all interfaces from an URL file.
|
public static List<String> fetch(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 readCopyright © 2016. All rights reserved.