Class BOMDetector
java.lang.Object
org.pentaho.di.trans.steps.fileinput.text.BOMDetector
Detector of BOM prefix in file.
We don't use BOMInputStream because: 1) it requires commons-io 2.1 or higher, 2) it doesn't support GB18030 charset,
3) it's additional abstraction level that add some microseconds to read
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
MARKS
-
-
Constructor Details
-
BOMDetector
- Throws:
IOException
-
-
Method Details
-
bomExist
public boolean bomExist() -
getCharset
-
getBomSize
public int getBomSize()
-