public class PortRanges
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PortRanges.AggregatePortRange |
static class |
PortRanges.LinearPortRange |
static class |
PortRanges.SinglePort |
Modifier and Type | Field and Description |
---|---|
static PortRange |
ANY_HIGH_PORT |
static int |
MAX_PORT |
Constructor and Description |
---|
PortRanges() |
Modifier and Type | Method and Description |
---|---|
static PortRange |
fromCollection(java.util.Collection<?> c) |
static PortRange |
fromInteger(int x) |
static PortRange |
fromString(java.lang.String s)
parses a string representation of ports, as "80,8080,8000,8080-8099"
|
static void |
init()
performs the language extensions required for this project
|
public static final int MAX_PORT
public static final PortRange ANY_HIGH_PORT
public static PortRange fromInteger(int x)
public static PortRange fromCollection(java.util.Collection<?> c)
public static PortRange fromString(java.lang.String s)
public static void init()