|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openxri.Parsable
org.openxri.AuthorityPath
org.openxri.IRIAuthority
public class IRIAuthority
This class provides a strong typing for a IRI Authority. Any object of this class that appears outside of the package is a valid IRI Authority. It currently only accepts IRI Authorities that serve as IP Addresses or appear to be valid host names
Constructor Summary | |
---|---|
IRIAuthority(java.lang.String sPath)
|
Method Summary | |
---|---|
java.lang.String |
getIHost()
Returns the host portion of the IRI Authority |
java.lang.String |
getIUserInfo()
Returns the userinfo portion of the IRI Authority |
int |
getPort()
Returns the port portion of the IRI Authority |
java.lang.String |
toIRINormalForm()
Serialzes the IRIAuthority into IRI normal from |
java.lang.String |
toURINormalForm()
Serialzes the IRIAuthority into URI normal from |
Methods inherited from class org.openxri.AuthorityPath |
---|
buildAuthorityPath |
Methods inherited from class org.openxri.Parsable |
---|
compareTo, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public IRIAuthority(java.lang.String sPath)
Method Detail |
---|
public java.lang.String getIUserInfo()
public java.lang.String getIHost()
public int getPort()
public java.lang.String toIRINormalForm()
toIRINormalForm
in class AuthorityPath
public java.lang.String toURINormalForm()
toURINormalForm
in class AuthorityPath
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |