info.monitorenter.cpdetector.io
Class UnsupportedCharset
java.lang.Object
java.nio.charset.Charset
info.monitorenter.cpdetector.io.UnsupportedCharset
- All Implemented Interfaces:
- Comparable<Charset>
public class UnsupportedCharset
- extends Charset
A dummy charset that indicates an unknown charset. Nevertheless some
indication of a encoding definition has been found that is contained here.
The system just does not support that codepage.
These instances are obtained by the static singleton retrieval call
forName(String) which allows unique instances for a detected string.
- Author:
- Achim Westermann
| Methods inherited from class java.nio.charset.Charset |
aliases, availableCharsets, canEncode, compareTo, decode, defaultCharset, encode, encode, equals, hashCode, isRegistered, isSupported, name, toString |
forName
public static Charset forName(String name)
contains
public boolean contains(Charset cs)
- Specified by:
contains in class Charset
newDecoder
public CharsetDecoder newDecoder()
- Specified by:
newDecoder in class Charset
newEncoder
public CharsetEncoder newEncoder()
- Specified by:
newEncoder in class Charset
displayName
public String displayName()
- Overrides:
displayName in class Charset
displayName
public String displayName(Locale locale)
- Overrides:
displayName in class Charset
Copyleft ㊢ 2003-2004 MPL 1.1, All Rights Footloose.