Type Name | Description |
---|---|
An address, or a collection of multiple addresses.
|
|
|
|
|
|
An internet host name.
|
|
A single IP address, or a subnet of multiple addresses.
|
|
|
|
This class can be used to represent an arbitrary range of consecutive IP addresses.
|
|
Parses the string representation of an IP address.
|
|
Parses the string representation of a MAC address.
|
Type Name | Description |
---|---|
Represents a single segment of an address.
|
|
Represents a series of address segments, each of equal byte size, the byte size being a whole number of bytes.
|
|
A string that is used to identify a network host.
|
|
|
|
Represents a series of IP address segments.
|
|
|
ValueComparator is similar to the default comparator CountComparator in the way they treat addresses representing a single address.
|
|
CountComparator first compares two address items by count, first by bit count for dissimilar items,
AddressItem.getBitCount() , then by count of values for similar items, (AddressItem.getCount() ) and if both match,
defers to the address item values for comparison. |
AddressNetwork<S extends AddressSegment>
|
An object representing a collection of addresses.
|
|
|
|
Prefix Handling Configuration
The library is designed to treat prefixes three different ways:
|
|
Generates and caches HostIdentifierString instances.
|
This class allows you to control the validation performed by the class
IPAddressString or MACAddressString . |
|
|
Controls special characters in addresses like '*', '-', '_'
|
|
|
|
|
This class allows you to control the validation performed by the class
HostName . |
|
|
|
IPAddressNetwork<T extends IPAddress,R extends IPAddressSection,E extends IPAddressSection,S extends IPAddressSegment,J extends InetAddress>
|
Represents a network of addresses of a single IP version providing a collection of standard addresses components for that version, such as masks and loopbacks.
|
|
|
|
A factory of address strings or host names, which can be particularly useful if you are using your own network,
or if you are using your own validation options.
|
|
Choose a map of your choice to implement a cache of addresses and/or host names.
|
|
Choose a map of your choice to implement a cache of address strings and their associated addresses.
|
|
Choose a map of your choice to implement a cache of host names and resolved addresses.
|
A section of an IPAddress.
|
|
|
|
|
|
|
|
|
|
|
|
|
Represents a clear way to create a specific type of string.
|
|
|
|
This user-facing class is designed to be a clear way to create a collection of strings.
|
This represents a single segment of an IP address.
|
|
This class allows you to control the validation performed by the class
IPAddressString . |
|
|
|
|
|
This class allows you to control the validation performed by the class
IPAddressString . |
|
|
|
|
|
|
|
|
|
PrefixBlockAllocator<E extends IPAddress>
|
Allocates blocks of the desired size from a set of seed blocks provided to it previously for allocation.
|
|
Represents a block of addresses allocated for assignment to hosts.
|
Type Name | Description |
---|---|
IPv6 and MAC address sections are not position-independent, which means they have a designated location within a full address.
|
|
Thrown when an address or address component would be too large or small,
when a prefix length is too large or small, or when prefixes across segments are inconsistent.
|
|
Represents situations when an address, address section, address segment, or address string represents a valid type or format but
that type does not match the required type or format for a given operation.
|
|
Thrown when two different networks in use by the same address object are in conflict.
|
|
The core types in this package include Address, IPAddress, HostName, IPAddressString and MACAddressString.