Module inet.ipaddr
Package inet.ipaddr

Class IPAddressSection.IPStringBuilderOptions

java.lang.Object
inet.ipaddr.IPAddressSection.IPStringBuilderOptions
Direct Known Subclasses:
IPv4AddressSection.IPv4StringBuilderOptions, IPv6AddressSection.IPv6StringBuilderOptions
Enclosing class:
IPAddressSection

public static class IPAddressSection.IPStringBuilderOptions extends Object
This user-facing class is designed to be a clear way to create a collection of strings.
Author:
sfoley
  • 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

      public String toString()
      Overrides:
      toString in class Object