public class URI extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected AuthorityComponent |
authority |
protected FragmentComponent |
fragment |
protected PathComponent |
path |
protected QueryComponent |
query |
protected SchemeComponent |
scheme |
protected String |
uriString |
| Constructor and Description |
|---|
URI(String uriString)
Constructor of URI.
|
| Modifier and Type | Method and Description |
|---|---|
AuthorityComponent |
getAuthority()
getter for authority object
|
FragmentComponent |
getFragment()
getter for fragment object
|
PathComponent |
getPath()
getter for path object
|
QueryComponent |
getQuery()
getter for query object
|
SchemeComponent |
getScheme()
getter for scheme
|
String |
getURIString()
getter for URI string
|
String |
toString() |
protected String uriString
protected SchemeComponent scheme
protected AuthorityComponent authority
protected PathComponent path
protected QueryComponent query
protected FragmentComponent fragment
public URI(String uriString)
uriString - complete URI stringpublic String getURIString()
public SchemeComponent getScheme()
public AuthorityComponent getAuthority()
public QueryComponent getQuery()
public PathComponent getPath()
public FragmentComponent getFragment()
Copyright © 2020. All rights reserved.