public class FastURLEncoder extends AbstractCharEncoder
| Constructor and Description |
|---|
FastURLEncoder(CharToByteEncoder encoder) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(char c,
CharWriter writer) |
void |
encode(String s,
Writer out) |
static FastURLEncoder |
getUTF8Instance() |
protected void |
safeEncode(char[] chars,
int off,
int len,
CharWriter writer) |
String |
toString() |
encode, encode, encode, encodepublic FastURLEncoder(CharToByteEncoder encoder) throws IllegalArgumentException
IllegalArgumentExceptionpublic static FastURLEncoder getUTF8Instance()
public void encode(char c,
CharWriter writer)
encode in interface CharEncoderencode in class AbstractCharEncoderc - the char to encodewriter - the writer to useprotected void safeEncode(char[] chars,
int off,
int len,
CharWriter writer)
safeEncode in class AbstractCharEncoderpublic void encode(String s, Writer out) throws IllegalArgumentException, UndeclaredIOException
Copyright © 2025 JBoss by Red Hat. All Rights Reserved.