public class PortsRange
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
PortsRange.PortCallback |
Constructor and Description |
---|
PortsRange(java.lang.String portRange) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPortRangeString() |
boolean |
iterate(PortsRange.PortCallback callback) |
int[] |
ports() |
java.lang.String |
toString() |
public java.lang.String getPortRangeString()
public int[] ports() throws java.lang.NumberFormatException
java.lang.NumberFormatException
public boolean iterate(PortsRange.PortCallback callback) throws java.lang.NumberFormatException
java.lang.NumberFormatException
public java.lang.String toString()
toString
in class java.lang.Object