Immutable RFC3986 encoded string.
More...
|
| | Encoded (final String vanilla, final String legal) |
| | Encodes all characters into their hexadecimal value prepended by '', except: More...
|
| |
| boolean | isASCII () |
| |
| final String | get () |
| | Returns the encoded String. More...
|
| |
| final String | decode () |
| | Decodes the string argument which is assumed to be encoded in the
x-www-form-urlencoded MIME content type using the UTF-8 encoding scheme. More...
|
| |
| final String | toString () |
| |
| final int | hashCode () |
| |
| final boolean | equals (final Object o) |
| |
| final int | length () |
| |
| final char | charAt (final int index) |
| |
| final CharSequence | subSequence (final int start, final int end) |
| |
| final int | compareTo (final Encoded o) |
| |
| Encoded | concat (final Encoded encoded) |
| | See String#concat(String). More...
|
| |
| final Encoded | substring (final int start) |
| | See String#substring(int). More...
|
| |
| final Encoded | substring (final int start, final int end) |
| | See String#substring(int, int). More...
|
| |
| final int | indexOf (final int ch) |
| | See String#indexOf(int). More...
|
| |
| final int | indexOf (final int ch, final int fromIndex) |
| | See String#indexOf(int, int). More...
|
| |
| final int | indexOf (final String str) |
| | See String#indexOf(String). More...
|
| |
| final int | indexOf (final String str, final int fromIndex) |
| | See String#indexOf(String, int). More...
|
| |
| final int | lastIndexOf (final int ch) |
| | See String#lastIndexOf(int). More...
|
| |
| int | lastIndexOf (final int ch, final int fromIndex) |
| | See String#lastIndexOf(int, int). More...
|
| |
| int | lastIndexOf (final String str) |
| | See String#lastIndexOf(String). More...
|
| |
| int | lastIndexOf (final String str, final int fromIndex) |
| | See String#lastIndexOf(String, int). More...
|
| |
| boolean | startsWith (final String prefix) |
| | See String#startsWith(String). More...
|
| |
| boolean | startsWith (final String prefix, final int toffset) |
| | See String#startsWith(String, int). More...
|
| |
| boolean | endsWith (final String suffix) |
| | See String#endsWith(String). More...
|
| |
| final boolean | equalsIgnoreCase (final Encoded anotherEncoded) |
| | See String#equalsIgnoreCase(String). More...
|
| |
Immutable RFC3986 encoded string.
Definition at line 296 of file Uri.java.
◆ Encoded()
| com.jogamp.common.net.Uri.Encoded.Encoded |
( |
final String |
vanilla, |
|
|
final String |
legal |
|
) |
| |
Encodes all characters into their hexadecimal value prepended by '', except:
-
letters ('a'..'z', 'A'..'Z')
-
numbers ('0'..'9')
-
characters in the legal-set parameter
-
others (unicode characters that are not in US-ASCII set, and are not ISO Control or are not ISO Space characters)
Uses Uri#encode(String, String) for implementation..
- Parameters
-
| vanilla | the string to be encoded |
| legal | extended character set, allowed to be preserved in the vanilla string |
Definition at line 329 of file Uri.java.
◆ cast()
| static Encoded com.jogamp.common.net.Uri.Encoded.cast |
( |
final String |
encoded | ) |
|
|
static |
◆ charAt()
| final char com.jogamp.common.net.Uri.Encoded.charAt |
( |
final int |
index | ) |
|
◆ compareTo()
| final int com.jogamp.common.net.Uri.Encoded.compareTo |
( |
final Encoded |
o | ) |
|
◆ concat()
| Encoded com.jogamp.common.net.Uri.Encoded.concat |
( |
final Encoded |
encoded | ) |
|
◆ decode()
| final String com.jogamp.common.net.Uri.Encoded.decode |
( |
| ) |
|
Decodes the string argument which is assumed to be encoded in the
x-www-form-urlencoded MIME content type using the UTF-8 encoding scheme.
'' and two following hex digit characters are converted to the equivalent byte value. All other characters are passed through unmodified.
e.g. "A%20B%20C %24%25" -> "A B C $%"
Uses Uri#decode(String) for implementation..
Definition at line 353 of file Uri.java.
◆ endsWith()
| boolean com.jogamp.common.net.Uri.Encoded.endsWith |
( |
final String |
suffix | ) |
|
◆ equals()
| final boolean com.jogamp.common.net.Uri.Encoded.equals |
( |
final Object |
o | ) |
|
◆ equalsIgnoreCase()
| final boolean com.jogamp.common.net.Uri.Encoded.equalsIgnoreCase |
( |
final Encoded |
anotherEncoded | ) |
|
◆ get()
| final String com.jogamp.common.net.Uri.Encoded.get |
( |
| ) |
|
Returns the encoded String.
Definition at line 336 of file Uri.java.
◆ hashCode()
| final int com.jogamp.common.net.Uri.Encoded.hashCode |
( |
| ) |
|
◆ indexOf() [1/4]
| final int com.jogamp.common.net.Uri.Encoded.indexOf |
( |
final int |
ch | ) |
|
◆ indexOf() [2/4]
| final int com.jogamp.common.net.Uri.Encoded.indexOf |
( |
final int |
ch, |
|
|
final int |
fromIndex |
|
) |
| |
◆ indexOf() [3/4]
| final int com.jogamp.common.net.Uri.Encoded.indexOf |
( |
final String |
str | ) |
|
◆ indexOf() [4/4]
| final int com.jogamp.common.net.Uri.Encoded.indexOf |
( |
final String |
str, |
|
|
final int |
fromIndex |
|
) |
| |
◆ isASCII()
| boolean com.jogamp.common.net.Uri.Encoded.isASCII |
( |
| ) |
|
◆ lastIndexOf() [1/4]
| final int com.jogamp.common.net.Uri.Encoded.lastIndexOf |
( |
final int |
ch | ) |
|
◆ lastIndexOf() [2/4]
| int com.jogamp.common.net.Uri.Encoded.lastIndexOf |
( |
final int |
ch, |
|
|
final int |
fromIndex |
|
) |
| |
◆ lastIndexOf() [3/4]
| int com.jogamp.common.net.Uri.Encoded.lastIndexOf |
( |
final String |
str | ) |
|
◆ lastIndexOf() [4/4]
| int com.jogamp.common.net.Uri.Encoded.lastIndexOf |
( |
final String |
str, |
|
|
final int |
fromIndex |
|
) |
| |
◆ length()
| final int com.jogamp.common.net.Uri.Encoded.length |
( |
| ) |
|
◆ startsWith() [1/2]
| boolean com.jogamp.common.net.Uri.Encoded.startsWith |
( |
final String |
prefix | ) |
|
◆ startsWith() [2/2]
| boolean com.jogamp.common.net.Uri.Encoded.startsWith |
( |
final String |
prefix, |
|
|
final int |
toffset |
|
) |
| |
◆ subSequence()
| final CharSequence com.jogamp.common.net.Uri.Encoded.subSequence |
( |
final int |
start, |
|
|
final int |
end |
|
) |
| |
◆ substring() [1/2]
| final Encoded com.jogamp.common.net.Uri.Encoded.substring |
( |
final int |
start | ) |
|
◆ substring() [2/2]
| final Encoded com.jogamp.common.net.Uri.Encoded.substring |
( |
final int |
start, |
|
|
final int |
end |
|
) |
| |
◆ toString()
| final String com.jogamp.common.net.Uri.Encoded.toString |
( |
| ) |
|
Returns the encoded String, same as get().
Definition at line 366 of file Uri.java.
The documentation for this class was generated from the following file: