This project has retired. For details please refer to its
Attic page.
EncodingDetector (Apache Any23 :: Core 0.7.0-incubating-SNAPSHOT API)
org.apache.any23.encoding
Interface EncodingDetector
- All Known Implementing Classes:
- TikaEncodingDetector
public interface EncodingDetector
Defines a detector for charset encoding.
- Author:
- Michele Mostarda ( michele.mostarda@gmail.com )
guessEncoding
String guessEncoding(InputStream input)
throws IOException
- Guesses the data encoding.
- Parameters:
input
- the input stream containing the data.
- Returns:
- a string compliant to
IANA Charset Specification.
- Throws:
IOException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.