java.lang.Object
inet.ipaddr.format.validate.ParsedHost
- All Implemented Interfaces:
Serializable
The result of parsing a valid host name.
- Author:
- sfoley
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParsedHost
(String originalStr, IPAddressProvider valueProvider) ParsedHost
(String originalStr, IPAddressProvider valueProvider, ParsedHostIdentifierStringQualifier portQualifier) -
Method Summary
-
Constructor Details
-
ParsedHost
-
ParsedHost
public ParsedHost(String originalStr, IPAddressProvider valueProvider, ParsedHostIdentifierStringQualifier portQualifier)
-
-
Method Details
-
isIPv6Address
public boolean isIPv6Address() -
getPort
-
getService
-
getNetworkPrefixLength
-
getEquivalentPrefixLength
-
getMask
-
getAddressProvider
-
isAddressString
public boolean isAddressString() -
asAddress
- Throws:
IncompatibleAddressException
-
asAddress
- Throws:
IncompatibleAddressException
-
asGenericAddressString
-
getNormalizedLabels
-
getHost
-
getAddressStringException
-
isUNCIPv6Literal
public boolean isUNCIPv6Literal() -
isReverseDNS
public boolean isReverseDNS()
-