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:
read
in classReader
- Throws:
IOException
-
read
- Specified by:
read
in classReader
- Throws:
IOException
-
skip
- Overrides:
skip
in classReader
- Throws:
IOException
-
ready
- Overrides:
ready
in classReader
- Throws:
IOException
-
mark
- Overrides:
mark
in classReader
- Throws:
IOException
-
reset
- Overrides:
reset
in classReader
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classReader
- Throws:
IOException
-