Module inet.ipaddr
Package inet.ipaddr.format.standard
Class AddressCreator<T extends Address,R extends AddressSection,E extends AddressSection,S extends AddressSegment>
- java.lang.Object
-
- inet.ipaddr.format.validate.ParsedAddressCreator<T,R,E,S>
-
- inet.ipaddr.format.standard.AddressCreator<T,R,E,S>
-
- Type Parameters:
T
- the address typeR
- the section typeE
- the embedded section type (ie IPv4 in a mixed IPv6/IPv4)S
- the segment type
- All Implemented Interfaces:
AddressNetwork.AddressSegmentCreator<S>
,java.io.Serializable
- Direct Known Subclasses:
IPAddressNetwork.IPAddressCreator
,MACAddressNetwork.MACAddressCreator
public abstract class AddressCreator<T extends Address,R extends AddressSection,E extends AddressSection,S extends AddressSegment> extends ParsedAddressCreator<T,R,E,S> implements AddressNetwork.AddressSegmentCreator<S>
Has methods for creating addresses, segments and sections that are available to the parser.- Author:
- sfoley
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddressCreator()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract T
createAddress(R section)
abstract AddressNetwork<S>
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 abstract AddressNetwork<S> getNetwork()
-
-