org.apache.tomcat.util.buf
public final class UEncoder extends Object
Constructor Summary | |
---|---|
UEncoder() |
Method Summary | |
---|---|
void | addSafeCharacter(char c) |
String | encodeURL(String uri)
Utility funtion to re-encode the URL.
|
void | setEncoding(String s) |
void | urlEncode(Writer buf, String s) URL Encode string, using a specified encoding.
|
void | urlEncode(Writer buf, byte[] bytes, int off, int len) |
Parameters: buf The writer s string to be encoded
Throws: IOException If an I/O error occurs