net.sf.jmatchparser.util.charset.icu4jchardet
Class ICU4JChardetCharsetProvider
java.lang.Object
java.nio.charset.spi.CharsetProvider
net.sf.jmatchparser.util.charset.icu4jchardet.ICU4JChardetCharsetProvider
public class ICU4JChardetCharsetProvider
- extends CharsetProvider
Charset provider that provides a convenience charset that uses ICU4J to dynamically detect the charset it
uses for decoding.
The name of this charset is "ICU4J-Chardet".
This class is loaded automatically via SPI when it is in the class path.
- See Also:
CharsetDetector.getAllDetectableCharsets()
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ICU4JChardetCharsetProvider
public ICU4JChardetCharsetProvider()
charsetForName
public Charset charsetForName(String charsetName)
- Specified by:
charsetForName
in class CharsetProvider
charsets
public Iterator<Charset> charsets()
- Specified by:
charsets
in class CharsetProvider
Copyright © 2011. All Rights Reserved.