public class HostsFileReader extends Object
| 构造器和说明 |
|---|
HostsFileReader(String inFile,
String exFile) |
| 限定符和类型 | 方法和说明 |
|---|---|
Set<String> |
getExcludedHosts() |
Set<String> |
getHosts() |
void |
refresh() |
void |
setExcludesFile(String excludesFile) |
void |
setIncludesFile(String includesFile) |
void |
updateFileNames(String includesFile,
String excludesFile) |
public HostsFileReader(String inFile, String exFile) throws IOException
IOExceptionpublic void refresh()
throws IOException
IOExceptionpublic void setIncludesFile(String includesFile)
public void setExcludesFile(String excludesFile)
public void updateFileNames(String includesFile, String excludesFile) throws IOException
IOExceptionCopyright © 2009 The Apache Software Foundation