Module inet.ipaddr
Package inet.ipaddr
Class IPAddressNetwork.IPAddressCreator<T extends IPAddress,R extends IPAddressSection,E extends IPAddressSection,S extends IPAddressSegment,J extends java.net.InetAddress>
- java.lang.Object
-
- inet.ipaddr.format.validate.ParsedAddressCreator<T,R,E,S>
-
- inet.ipaddr.format.standard.AddressCreator<T,R,E,S>
-
- inet.ipaddr.IPAddressNetwork.IPAddressCreator<T,R,E,S,J>
-
- All Implemented Interfaces:
AddressNetwork.AddressSegmentCreator<S>
,java.io.Serializable
- Direct Known Subclasses:
IPv4AddressNetwork.IPv4AddressCreator
,IPv6AddressNetwork.IPv6AddressCreator
- Enclosing class:
- IPAddressNetwork<T extends IPAddress,R extends IPAddressSection,E extends IPAddressSection,S extends IPAddressSegment,J extends java.net.InetAddress>
public abstract static class IPAddressNetwork.IPAddressCreator<T extends IPAddress,R extends IPAddressSection,E extends IPAddressSection,S extends IPAddressSegment,J extends java.net.InetAddress> extends AddressCreator<T,R,E,S>
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
createAddress(byte[] bytes)
T
createAddress(byte[] bytes, int byteStartIndex, int byteEndIndex, java.lang.Integer prefix)
T
createAddress(byte[] bytes, int byteStartIndex, int byteEndIndex, java.lang.Integer prefix, java.lang.CharSequence zone)
T
createAddress(byte[] bytes, java.lang.Integer prefix)
T
createAddress(Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefix)
T
createAddress(Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefix, java.lang.CharSequence zone)
abstract T
createAddress(R section)
T
createAddress(S[] segments)
T
createAddress(S[] segments, java.lang.Integer prefix)
abstract R
createFullSectionInternal(Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefix)
abstract R
createSection(byte[] bytes, int byteStartIndex, int byteEndIndex, java.lang.Integer prefix)
abstract R
createSection(byte[] bytes, java.lang.Integer prefix)
abstract R
createSection(S[] segments)
abstract R
createSection(S[] segments, java.lang.Integer networkPrefixLength)
T
createSequentialBlockAddress(IPAddressSegmentSeries address, int index, int lowerVal, int upperVal)
R
createSequentialBlockSection(IPAddressSegmentSeries series, int index, int lowerVal, int upperVal)
IPAddressNetwork<T,R,E,S,J>
getNetwork()
-
Methods inherited from class inet.ipaddr.format.validate.ParsedAddressCreator
clearCaches, createSegment, createSegmentArray, setSegmentCaching
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface inet.ipaddr.AddressNetwork.AddressSegmentCreator
createSegment, createSegment, createSegment, createSegmentArray
-
-
-
-
Method Detail
-
getNetwork
public IPAddressNetwork<T,R,E,S,J> getNetwork()
- Specified by:
getNetwork
in classAddressCreator<T extends IPAddress,R extends IPAddressSection,E extends IPAddressSection,S extends IPAddressSegment>
-
createFullSectionInternal
public abstract R createFullSectionInternal(Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefix)
-
createSection
public abstract R createSection(byte[] bytes, int byteStartIndex, int byteEndIndex, java.lang.Integer prefix)
-
createSection
public abstract R createSection(byte[] bytes, java.lang.Integer prefix)
-
createAddress
public T createAddress(Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefix)
-
createAddress
public T createAddress(Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, java.lang.Integer prefix, java.lang.CharSequence zone)
-
createAddress
public T createAddress(byte[] bytes, int byteStartIndex, int byteEndIndex, java.lang.Integer prefix)
-
createAddress
public T createAddress(byte[] bytes, int byteStartIndex, int byteEndIndex, java.lang.Integer prefix, java.lang.CharSequence zone)
-
createAddress
public T createAddress(byte[] bytes, java.lang.Integer prefix)
-
createAddress
public T createAddress(byte[] bytes)
-
createAddress
public abstract T createAddress(R section)
- Specified by:
createAddress
in classAddressCreator<T extends IPAddress,R extends IPAddressSection,E extends IPAddressSection,S extends IPAddressSegment>
-
createSequentialBlockAddress
public T createSequentialBlockAddress(IPAddressSegmentSeries address, int index, int lowerVal, int upperVal)
-
createSequentialBlockSection
public R createSequentialBlockSection(IPAddressSegmentSeries series, int index, int lowerVal, int upperVal)
-
-