public class HTML extends Encoding
| Constructor and Description |
|---|
HTML() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(InputStream in,
Buffer out) |
String |
encode(byte[] in)
Encode a byte array to a ASCII or ISO-8859-1 String.
|
String |
encode(String str)
Encode a (UTF-8) String to a ASCII or ISO-8859-1 String.
|
String |
getName() |
public String encode(byte[] in) throws EncodingException
Encodingencode in class EncodingEncodingExceptionpublic String encode(String str) throws EncodingException
Encodingencode in class EncodingEncodingExceptionEncoding.encode(byte[])public void decode(InputStream in, Buffer out) throws DecodingException
decode in class EncodingDecodingExceptionEncoding.decode(byte[], int, int)