Class ReplacementCharset
- java.lang.Object
-
- java.nio.charset.Charset
-
- org.apache.tika.parser.html.charsetdetector.charsets.ReplacementCharset
-
- All Implemented Interfaces:
Comparable<Charset>
public class ReplacementCharset extends Charset
An implementation of the standard "replacement" charset defined by the W3C. See: https://encoding.spec.whatwg.org/#replacement
-
-
Constructor Summary
Constructors Constructor Description ReplacementCharset()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(Charset cs)
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
-
-
-
-
Method Detail
-
newDecoder
public CharsetDecoder newDecoder()
- Specified by:
newDecoder
in classCharset
-
newEncoder
public CharsetEncoder newEncoder()
- Specified by:
newEncoder
in classCharset
-
-