org.apache.derby.impl.jdbc
Class ReaderToAscii

java.lang.Object
  extended by java.io.InputStream
      extended by org.apache.derby.impl.jdbc.ReaderToAscii
All Implemented Interfaces:
java.io.Closeable

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
           
 
Constructor Summary
ReaderToAscii(java.io.Reader data)
           
 
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
 

Field Detail

data

private final java.io.Reader data

conv

private char[] conv

closed

private boolean closed
Constructor Detail

ReaderToAscii

public ReaderToAscii(java.io.Reader data)
Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

read

public int read(byte[] buf,
                int off,
                int len)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException

skip

public long skip(long len)
          throws java.io.IOException
Overrides:
skip in class java.io.InputStream
Throws:
java.io.IOException

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

Built on Thu 2011-03-10 11:54:14+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.