Class Host
java.lang.Object
io.mola.galimatias.Host
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Domain, IPv4Address, IPv6Address
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Host
public Host()
-
-
Method Details
-
toString
-
toHumanString
-
parseHost
Parses a host as found in URLs. IPv6 literals are expected enclosed in square brackets (i.e. [ipv6-literal]).- Parameters:
input-- Returns:
- Throws:
GalimatiasParseException
-