|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gridlab.gat.URI.URIEncoder
public class URI.URIEncoder
A utility class that encodes/decodes Strings into a valid URI format.
Constructor Summary | |
---|---|
URI.URIEncoder()
|
Method Summary | |
---|---|
String |
decodeUri(String uri)
Decodes a string according to RFC 2396. |
void |
decodeUri(String uri,
StringBuffer buf)
Decodes a string according to RFC 2396. |
String |
encodeUri(String uri)
Encodes a string according to RFC 2396. |
void |
encodeUri(String uri,
StringBuffer buf)
Encodes a string according to RFC 2396. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URI.URIEncoder()
Method Detail |
---|
public String encodeUri(String uri)
uri
- The URI to encode.
public void encodeUri(String uri, StringBuffer buf)
uri
- The URI to encode.buf
- The StringBuffer that the encoded URI will be appended
to.encodeUri(java.lang.String)
public String decodeUri(String uri)
uri
- The URI to decode.
public void decodeUri(String uri, StringBuffer buf)
uri
- The URI to decode.buf
- The StringBuffer 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 |