public final class URLParser
extends java.lang.Object
BlobURLParts
to modify the components of the URL.Constructor and Description |
---|
URLParser() |
Modifier and Type | Method and Description |
---|---|
static BlobURLParts |
parse(java.net.URL url)
URLParser parses a URL initializing BlobURLParts' fields including any SAS-related and snapshot query parameters.
|
public static BlobURLParts parse(java.net.URL url) throws java.net.UnknownHostException
url
- The java.net.URL
to be parsed.BlobURLParts
object containing all the components of a BlobURL.java.net.UnknownHostException
- If the url contains an improperly formatted ipaddress or unknown host address.