Class IPAddressSection.IPStringBuilderOptions
java.lang.Object
inet.ipaddr.IPAddressSection.IPStringBuilderOptions
- Direct Known Subclasses:
IPv4AddressSection.IPv4StringBuilderOptions, IPv6AddressSection.IPv6StringBuilderOptions
- Enclosing class:
IPAddressSection
This user-facing class is designed to be a clear way to create a collection of strings.
- Author:
- sfoley
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intfinal int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanincludes(int option) booleanincludesAny(int option) toString()
-
Field Details
-
BASIC
public static final int BASIC- See Also:
-
LEADING_ZEROS_FULL_ALL_SEGMENTS
public static final int LEADING_ZEROS_FULL_ALL_SEGMENTS- See Also:
-
LEADING_ZEROS_FULL_SOME_SEGMENTS
public static final int LEADING_ZEROS_FULL_SOME_SEGMENTS- See Also:
-
LEADING_ZEROS_PARTIAL_SOME_SEGMENTS
public static final int LEADING_ZEROS_PARTIAL_SOME_SEGMENTS- See Also:
-
options
public final int options
-
-
Constructor Details
-
IPStringBuilderOptions
public IPStringBuilderOptions() -
IPStringBuilderOptions
public IPStringBuilderOptions(int options)
-
-
Method Details
-
includes
public boolean includes(int option) -
includesAny
public boolean includesAny(int option) -
toString
-