Package com.mckoi.database.jdbc
Class BinaryToUnicodeReader
java.lang.Object
java.io.Reader
com.mckoi.database.jdbc.BinaryToUnicodeReader
- All Implemented Interfaces:
Closeable,AutoCloseable,Readable
A Reader implementation that wraps around a unicode encoded input stream
that encodes each unicode character as 2 bytes. See
UnicodeToBinaryStream for the InputStream version of this class.
- Author:
- Tobias Downer
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.Reader
markSupported, nullReader, read, read, transferTo
-
Constructor Details
-
BinaryToUnicodeReader
Constructor. Note that we would typically assume that the given InputStream employs some type of buffering and that calls to 'read' are buffered and therefore work quickly.
-
-
Method Details
-
read
- Overrides:
readin classReader- Throws:
IOException
-
read
- Specified by:
readin classReader- Throws:
IOException
-
skip
- Overrides:
skipin classReader- Throws:
IOException
-
ready
- Overrides:
readyin classReader- Throws:
IOException
-
mark
- Overrides:
markin classReader- Throws:
IOException
-
reset
- Overrides:
resetin classReader- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classReader- Throws:
IOException
-