public final class UEncoder
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
UEncoder.SafeCharsSet |
| Constructor | Description |
|---|---|
UEncoder(UEncoder.SafeCharsSet safeCharsSet) |
Create a UEncoder with an unmodifiable safe character set.
|
| Modifier and Type | Method | Description |
|---|---|---|
CharChunk |
encodeURL(java.lang.String s,
int start,
int end) |
URL Encode string, using a specified encoding.
|
protected void |
urlEncode(CharChunk out,
ByteChunk bb) |
public UEncoder(UEncoder.SafeCharsSet safeCharsSet)
safeCharsSet - safe characters for this encoderpublic CharChunk encodeURL(java.lang.String s, int start, int end) throws java.io.IOException
s - string to be encodedstart - the beginning index, inclusiveend - the ending index, exclusivejava.io.IOException - If an I/O error occursCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.