public abstract class EncodingDetectionReader extends Reader
Reader
that automatically detects an encoding while reading the data. Beside being a
regular Reader
this class acts as API that additionally allows to get
the detected
encoding in case you need this information (e.g. to save it as meta-data).EncodingUtil.createUtfDetectionReader(java.io.InputStream, String)
Constructor and Description |
---|
EncodingDetectionReader() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getEncoding()
This method gets the encoding if already detected.
|
Copyright © 2001–2016 mmm-Team. All rights reserved.