Class UnicodeUtil.UnicodeInputStream
java.lang.Object
java.io.InputStream
com.inductiveautomation.ignition.common.util.UnicodeUtil.UnicodeInputStream
- All Implemented Interfaces:
- Closeable,- AutoCloseable
- Enclosing class:
- UnicodeUtil
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.io.InputStreamavailable, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
- 
Field Details- 
BOM_SIZEpublic static final int BOM_SIZE- See Also:
 
 
- 
- 
Constructor Details- 
UnicodeInputStream
 
- 
- 
Method Details- 
getDefaultEncoding
- 
getEncoding
- 
initRead-ahead four bytes and check for BOM marks. Extra bytes are unread back to the stream, only BOM bytes are skipped.- Throws:
- IOException
 
- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- InputStream
- Throws:
- IOException
 
- 
read- Specified by:
- readin class- InputStream
- Throws:
- IOException
 
- 
getBOMOffsetpublic int getBOMOffset()
 
-