Example usage for Java com.google.common.net HostSpecifier fields, constructors, methods, implement or subclass
The text is from its open source code.
HostSpecifier | from(String specifier) Attempts to return a HostSpecifier for the given string, throwing an exception if parsing fails. |
HostSpecifier | fromValid(String specifier) Returns a HostSpecifier built from the provided specifier , which is already known to be valid. |
boolean | isValid(String specifier) Determines whether specifier represents a valid HostSpecifier as described in the documentation for #fromValid(String) . |
String | toString() Returns a string representation of the host specifier suitable for inclusion in a URI. |