org.apache.derby.impl.jdbc
Class ReaderToAscii
java.lang.Object
java.io.InputStream
org.apache.derby.impl.jdbc.ReaderToAscii
- public final class ReaderToAscii
- extends java.io.InputStream
ReaderToAscii converts Reader (with characters) to a stream of ASCII characters.
Field Summary |
private boolean |
closed
|
private char[] |
conv
|
private java.io.Reader |
data
|
Fields inherited from class java.io.InputStream |
|
Method Summary |
void |
close()
|
int |
read()
|
int |
read(byte[] buf,
int off,
int len)
|
long |
skip(long len)
|
Methods inherited from class java.io.InputStream |
available, mark, markSupported, read, reset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
private final java.io.Reader data
conv
private char[] conv
closed
private boolean closed
ReaderToAscii
public ReaderToAscii(java.io.Reader data)
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] buf,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
skip
public long skip(long len)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException
Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.