- All Superinterfaces:
- ICharsets
Deprecated.
@Deprecated
public interface Charsets
extends ICharsets
Provides constants for the standard character sets that are available in every JRE.
They are useful to avoid the annoying try-catch blocks for UnsupportedEncodingException
when used with String.getBytes(Charset) or String(byte[], Charset). These methods are
available since Java 6.
Can also be used with InputStreamReader(InputStream, Charset) and
OutputStreamWriter(OutputStream, Charset) which are available since Java 1.4.