Class IPv4AddressNetwork.IPv4AddressCreator
java.lang.Object
inet.ipaddr.format.validate.ParsedAddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment>
inet.ipaddr.format.standard.AddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment>
inet.ipaddr.IPAddressNetwork.IPAddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment, Inet4Address>
inet.ipaddr.ipv4.IPv4AddressNetwork.IPv4AddressCreator
- All Implemented Interfaces:
AddressNetwork.AddressSegmentCreator<IPv4AddressSegment>, Serializable
- Enclosing class:
IPv4AddressNetwork
public static class IPv4AddressNetwork.IPv4AddressCreator
extends IPAddressNetwork.IPAddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment, Inet4Address>
- Author:
- scfoley
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateAddress(IPv4AddressSection section) createAddress(Inet4Address addr) createAddress(Inet4Address addr, Integer networkPrefixLength) createFullSectionInternal(Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, Integer prefix) createSection(byte[] bytes, int byteStartIndex, int byteEndIndex, Integer prefix) createSection(byte[] bytes, Integer prefix) createSection(IPv4AddressSegment[] segments) createSection(IPv4AddressSegment[] segments, Integer networkPrefixLength) createSegment(int value) createSegment(int lower, int upper, Integer segmentPrefixLength) createSegment(int value, Integer segmentPrefixLength) createSegmentArray(int length) intvoidsetSegmentCaching(boolean enable)
-
Constructor Details
-
IPv4AddressCreator
-
-
Method Details
-
clearCaches
public void clearCaches()- Overrides:
clearCachesin classParsedAddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment>
-
setSegmentCaching
public void setSegmentCaching(boolean enable) - Overrides:
setSegmentCachingin classParsedAddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment>
-
getNetwork
- Overrides:
getNetworkin classIPAddressNetwork.IPAddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment, Inet4Address>
-
getMaxValuePerSegment
public int getMaxValuePerSegment() -
createSegmentArray
- Specified by:
createSegmentArrayin interfaceAddressNetwork.AddressSegmentCreator<IPv4AddressSegment>- Specified by:
createSegmentArrayin classParsedAddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment>
-
createSegment
-
createSegment
-
createSegment
- Specified by:
createSegmentin interfaceAddressNetwork.AddressSegmentCreator<IPv4AddressSegment>- Specified by:
createSegmentin classParsedAddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment>
-
createFullSectionInternal
public IPv4AddressSection createFullSectionInternal(Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, Integer prefix) - Specified by:
createFullSectionInternalin classIPAddressNetwork.IPAddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment, Inet4Address>
-
createSection
public IPv4AddressSection createSection(byte[] bytes, int byteStartIndex, int byteEndIndex, Integer prefix) - Specified by:
createSectionin classIPAddressNetwork.IPAddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment, Inet4Address>
-
createSection
- Specified by:
createSectionin classIPAddressNetwork.IPAddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment, Inet4Address>
-
createSection
- Specified by:
createSectionin classIPAddressNetwork.IPAddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment, Inet4Address>
-
createSection
- Specified by:
createSectionin classIPAddressNetwork.IPAddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment, Inet4Address>
-
createAddress
- Specified by:
createAddressin classIPAddressNetwork.IPAddressCreator<IPv4Address, IPv4AddressSection, IPv4AddressSection, IPv4AddressSegment, Inet4Address>
-
createAddress
-
createAddress
-