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 Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo 
- 
Field Details
- 
BOM_SIZE
public static final int BOM_SIZE- See Also:
 
 
 - 
 - 
Constructor Details
- 
UnicodeInputStream
 
 - 
 - 
Method Details
- 
getDefaultEncoding
 - 
getEncoding
 - 
init
Read-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 interfaceAutoCloseable- Specified by:
 closein interfaceCloseable- Overrides:
 closein classInputStream- Throws:
 IOException
 - 
read
- Specified by:
 readin classInputStream- Throws:
 IOException
 - 
getBOMOffset
public int getBOMOffset() 
 -