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
IOException
public void refresh() throws IOException
IOException
public void setIncludesFile(String includesFile)
public void setExcludesFile(String excludesFile)
public void updateFileNames(String includesFile, String excludesFile) throws IOException
IOException
Copyright © 2009 The Apache Software Foundation