| Constructor and Description |
|---|
AbstractHosts() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getHostsPath()
获取hosts文件路径.
|
protected List<Host> |
parseLine(String line) |
protected String |
readHostsFile()
读取hosts文件内容.
|
protected String getHostsPath()
protected String readHostsFile() throws IOException
IOExceptionCopyright © 2014–2016. All rights reserved.