info.monitorenter.cpdetector.io
Class UnknownCharset

java.lang.Object
  extended by java.nio.charset.Charset
      extended by info.monitorenter.cpdetector.io.UnknownCharset
All Implemented Interfaces:
Comparable<Charset>

public class UnknownCharset
extends Charset

A singleton Charset indicating that no encoding could be detected at all (regardless wether supported by platform or not). Unlike the UnsupportedCharset singleton instances it will never equal anything.

Author:
Achim Westermann

Method Summary
 boolean contains(Charset cs)
           
static Charset getInstance()
           
 CharsetDecoder newDecoder()
           
 CharsetEncoder newEncoder()
           
 
Methods inherited from class java.nio.charset.Charset
aliases, availableCharsets, canEncode, compareTo, decode, defaultCharset, displayName, displayName, encode, encode, equals, forName, hashCode, isRegistered, isSupported, name, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static Charset getInstance()

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


Copyleft ㊢ 2003-2004 MPL 1.1, All Rights Footloose.