Class PortsRange
java.lang.Object
org.elasticsearch.common.transport.PortsRange
public class PortsRange
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PortsRange.PortCallback
-
Constructor Summary
Constructors Constructor Description PortsRange(java.lang.String portRange)
-
Method Summary
Modifier and Type Method Description java.lang.String
getPortRangeString()
boolean
iterate(PortsRange.PortCallback callback)
int[]
ports()
java.lang.String
toString()
-
Constructor Details
-
PortsRange
public PortsRange(java.lang.String portRange)
-
-
Method Details
-
getPortRangeString
public java.lang.String getPortRangeString() -
ports
public int[] ports() throws java.lang.NumberFormatException- Throws:
java.lang.NumberFormatException
-
iterate
- Throws:
java.lang.NumberFormatException
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-