rita.support
Class UnicodeInputStream
java.lang.Object
java.io.InputStream
rita.support.UnicodeInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class UnicodeInputStream
- extends java.io.InputStream
| Methods inherited from class java.io.InputStream |
available, mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BOM_SIZE
public static final int BOM_SIZE
- See Also:
- Constant Field Values
UnicodeInputStream
public UnicodeInputStream(java.io.InputStream in)
UnicodeInputStream
public UnicodeInputStream(java.io.InputStream in,
java.lang.String defaultEnc)
getDefaultEncoding
public java.lang.String getDefaultEncoding()
getEncoding
public java.lang.String getEncoding()
close
public void close()
throws java.io.IOException
- Specified by:
close in interface java.io.Closeable- Overrides:
close in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Specified by:
read in class java.io.InputStream
- Throws:
java.io.IOException
getBOMOffset
public int getBOMOffset()