|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ten60.netkernel.urii.URIdentifier
A Universal Resource Identifier. This implementation is a simple wrapper over a string that minimises processing and storage costs if all you want to do is pass a URI around and use it as a string.
Constructor Summary | |
URIdentifier(String aString)
Creates a new instance of URIdentifier |
Method Summary | |
boolean |
equals(Object aOther)
|
static URIdentifier |
fromEscaped(String aURI)
|
String |
getFragment()
return the last fragment in this URI, null if not found |
String |
getScheme()
|
String |
getSchemeSpecificPart()
return the scheme specific part of this URI, I.e. |
static URIdentifier |
getUnique(String aPrefix)
|
int |
hashCode()
|
String |
toString()
|
URIdentifier |
withFragment(String aFragment)
return this URI without the fragment set as specified |
URIdentifier |
withoutFragment()
return this URI without the last fragment |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public URIdentifier(String aString)
Method Detail |
public String toString()
public boolean equals(Object aOther)
public int hashCode()
public static URIdentifier getUnique(String aPrefix)
public static URIdentifier fromEscaped(String aURI)
public String getScheme()
public String getFragment()
public URIdentifier withoutFragment()
public URIdentifier withFragment(String aFragment)
public String getSchemeSpecificPart()
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |