|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.semanticdesktop.aperture.util.UriUtil
public final class UriUtil
Methods related to actions on URIs. The definition of a URI is taken from RFC 2396: URI Generic Syntax.
Constructor Summary | |
---|---|
UriUtil()
|
Method Summary | |
---|---|
static String |
decodeUri(String uri)
Decodes a string according to RFC 2396. |
static void |
decodeUri(String uri,
StringBuilder buffer)
Decodes a string according to RFC 2396. |
static String |
encodeUri(String uri)
Encodes a string according to RFC 2396. |
static void |
encodeUri(String uri,
StringBuilder buffer)
Encodes a string according to RFC 2396. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UriUtil()
Method Detail |
---|
public static String encodeUri(String uri)
uri
- The URI to encode.
public static void encodeUri(String uri, StringBuilder buffer)
uri
- The URI to encode.buffer
- The StringBuilder that the encoded URI will be appended to.encodeUri(java.lang.String)
public static String decodeUri(String uri)
uri
- The URI to decode.
public static void decodeUri(String uri, StringBuilder buffer)
uri
- The URI to decode.buffer
- The StringBuilder that the decoded URI will be appended to.decodeUri(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |