public class XURI extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
allprotocols |
protected String |
baseprotocol |
protected String |
coreuri |
protected String |
frag |
protected String |
host |
protected String |
originaluri |
protected String |
path |
protected String[] |
protocols |
protected String |
query |
protected URI |
uri |
protected String |
userinfo |
| Modifier and Type | Method and Description |
|---|---|
static String |
canonical(String s)
Canonicalize a part of a URL
|
String |
getBaseProtocol() |
Map<String,String> |
getFields() |
String |
getFrag() |
String |
getHost() |
String |
getLeadProtocol() |
String |
getOriginal() |
Map<String,String> |
getParameters() |
String |
getPath() |
String[] |
getProtocols() |
String |
getQuery() |
String |
getUserinfo() |
String |
pureURI() |
void |
setBaseProtocol(String base) |
protected String originaluri
protected String[] protocols
protected String coreuri
protected URI uri
protected String[] allprotocols
protected String baseprotocol
protected String userinfo
protected String host
protected String path
protected String query
protected String frag
public XURI(String path) throws URISyntaxException
URISyntaxExceptionpublic String getOriginal()
public String[] getProtocols()
public String getLeadProtocol()
public String getBaseProtocol()
public void setBaseProtocol(String base)
public String getUserinfo()
public String getHost()
public String getPath()
public String getQuery()
public String getFrag()
public String pureURI()
Copyright © 1999–2014 UCAR/Unidata. All rights reserved.