public class HTML extends Encoding
Constructor and Description |
---|
HTML() |
Modifier and Type | Method and Description |
---|---|
ReadBuffer |
decode(byte[] in,
int offset,
int length) |
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 ReadBuffer decode(byte[] in, int offset, int length) throws DecodingException
decode
in class Encoding
DecodingException