public class HTML extends Encoding
Constructor | Description |
---|---|
HTML() |
Modifier and Type | Method | 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
Encoding
encode
in class Encoding
EncodingException
public String encode(String str) throws EncodingException
Encoding
encode
in class Encoding
EncodingException
Encoding.encode(byte[])
public void decode(InputStream in, Buffer out) throws DecodingException
decode
in class Encoding
DecodingException
Encoding.decode(byte[], int, int)