Package | Description |
---|---|
com.google.common.net |
This package contains utility methods and classes for working with net addresses (numeric IP and
domain names).
|
Modifier and Type | Method and Description |
---|---|
static HostSpecifier |
HostSpecifier.from(String specifier)
Attempts to return a
HostSpecifier for the given string, throwing an exception if
parsing fails. |
static HostSpecifier |
HostSpecifier.fromValid(String specifier)
Returns a
HostSpecifier built from the provided specifier , which is already
known to be valid. |
Copyright © 2010–2019. All rights reserved.