Method | Description | |
---|---|---|
IRItoURI ( string iri ) : string |
Transforms the given IRI to URI.
|
|
IRItoXRI ( string iri ) : string | ||
URItoIRI ( string uri ) : string |
Transform the given URI to IRI according to the rules in RFC3987 section 3.2
|
|
XRItoIRI ( string s, bool inXref ) : string |
Transforms the given XRI part to IRI-normal form. This method does not parse the given String; it simply converts all '%' to '%25', and if
|
|
decodeHex ( string s, int index ) : int |
Attempts to decode a 3-character percent-encoded sequence to the numeric value.
|
Method | Description | |
---|---|---|
isIPrivate ( int cp ) : bool | ||
isUCSChar ( int cp ) : bool | ||
isUCSCharOrIPrivate ( int cp ) : bool | ||
toUTF8PercentEncoded ( int cp ) : string |
Method | Description | |
---|---|---|
countUTF8Sequence ( string inValue, int inIndex, byte u8buf ) : int | ||
getHex ( string s, int index ) : string |
Attempt to read a percent encoded sequence from the given string
|
|
hasBiDiChar ( string s ) : bool | ||
isPercentEncoded ( string s, int index ) : bool |
public static IRItoURI ( string iri ) : string | ||
iri | string | |
return | string |
public static IRItoXRI ( string iri ) : string | ||
iri | string | |
return | string |
public static URItoIRI ( string uri ) : string | ||
uri | string | this MUST be a valid URI string. Use the java.net.URI class
/// to check before using this method. |
return | string |
public static XRItoIRI ( string s, bool inXref ) : string | ||
s | string | |
inXref | bool | |
return | string |
public static decodeHex ( string s, int index ) : int | ||
s | string | |
index | int | |
return | int |
protected static isIPrivate ( int cp ) : bool | ||
cp | int | |
return | bool |
protected static isUCSCharOrIPrivate ( int cp ) : bool | ||
cp | int | |
return | bool |
protected static toUTF8PercentEncoded ( int cp ) : string | ||
cp | int | |
return | string |