public interface EncodingDetector
| Modifier and Type | Method and Description |
|---|---|
String |
guessEncoding(InputStream input)
Guesses the data encoding.
|
String guessEncoding(InputStream input) throws IOException
input - the input stream containing the data.IOException - if there is an error whilst guessing the encoding.Copyright © 2010–2018 The Apache Software Foundation. All rights reserved.