Package org.apache.derby.impl.jdbc
Class ReaderToAscii
java.lang.Object
java.io.InputStream
org.apache.derby.impl.jdbc.ReaderToAscii
- All Implemented Interfaces:
Closeable
,AutoCloseable
ReaderToAscii converts Reader (with characters) to a stream of ASCII characters.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skipNBytes, transferTo
-
Field Details
-
data
-
conv
private char[] conv -
closed
private boolean closed
-
-
Constructor Details
-
ReaderToAscii
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-