- java.lang.Object
-
- inet.ipaddr.IPAddressSection.IPStringBuilderOptions
-
- Direct Known Subclasses:
IPv4AddressSection.IPv4StringBuilderOptions
,IPv6AddressSection.IPv6StringBuilderOptions
- Enclosing class:
- IPAddressSection
public static class IPAddressSection.IPStringBuilderOptions extends java.lang.Object
This user-facing class is designed to be a clear way to create a collection of strings.- Author:
- sfoley
-
-
Field Summary
Fields Modifier and Type Field Description static int
BASIC
static int
LEADING_ZEROS_FULL_ALL_SEGMENTS
static int
LEADING_ZEROS_FULL_SOME_SEGMENTS
static int
LEADING_ZEROS_PARTIAL_SOME_SEGMENTS
int
options
-
Constructor Summary
Constructors Constructor Description IPStringBuilderOptions()
IPStringBuilderOptions(int options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
includes(int option)
boolean
includesAny(int option)
java.lang.String
toString()
-
-
-
Field Detail
-
BASIC
public static final int BASIC
- See Also:
- Constant Field Values
-
LEADING_ZEROS_FULL_ALL_SEGMENTS
public static final int LEADING_ZEROS_FULL_ALL_SEGMENTS
- See Also:
- Constant Field Values
-
LEADING_ZEROS_FULL_SOME_SEGMENTS
public static final int LEADING_ZEROS_FULL_SOME_SEGMENTS
- See Also:
- Constant Field Values
-
LEADING_ZEROS_PARTIAL_SOME_SEGMENTS
public static final int LEADING_ZEROS_PARTIAL_SOME_SEGMENTS
- See Also:
- Constant Field Values
-
options
public final int options
-
-