private static class ClientsToPortsGenerator.HostsFileParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.net.InetAddress |
hostAddress
The parsed IP4 address
|
private boolean |
validLine
The result if the last line is parsed successfully or not.
|
private int |
value
The parsed value
|
Modifier | Constructor and Description |
---|---|
private |
HostsFileParser() |
Modifier and Type | Method and Description |
---|---|
java.net.InetAddress |
getHostAddress()
Gets the last successful parsed IP4 host address.
|
int |
getValue()
Gets the last successfully parsed host value number.
|
boolean |
isValidLine()
Test if the parsed line is valid
|
ClientsToPortsGenerator.HostsFileParser |
parse(java.lang.String line) |
private int value
private java.net.InetAddress hostAddress
private boolean validLine
public ClientsToPortsGenerator.HostsFileParser parse(java.lang.String line)
public int getValue()
public java.net.InetAddress getHostAddress()
public boolean isValidLine()