org.apache.derby.impl.jdbc
Class UTF8Reader
java.lang.Object
java.io.Reader
org.apache.derby.impl.jdbc.UTF8Reader
- public final class UTF8Reader
- extends java.io.Reader
Fields inherited from class java.io.Reader |
lock |
Constructor Summary |
UTF8Reader(java.io.InputStream in,
long maxFieldSize,
ConnectionChild parent,
java.lang.Object synchronization)
|
Methods inherited from class java.io.Reader |
mark, markSupported, read, ready, reset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
in
private java.io.InputStream in
utfLen
private final long utfLen
utfCount
private long utfCount
readerCharCount
private long readerCharCount
maxFieldSize
private long maxFieldSize
buffer
private char[] buffer
charactersInBuffer
private int charactersInBuffer
readPositionInBuffer
private int readPositionInBuffer
noMoreReads
private boolean noMoreReads
parent
private ConnectionChild parent
UTF8Reader
public UTF8Reader(java.io.InputStream in,
long maxFieldSize,
ConnectionChild parent,
java.lang.Object synchronization)
throws java.io.IOException
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(char[] cbuf,
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()
readInto
public int readInto(java.lang.StringBuffer sb,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
readAsciiInto
int readAsciiInto(byte[] abuf,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
closeIn
private void closeIn()
utfFormatException
private java.io.IOException utfFormatException(java.lang.String s)
utfFormatException
private java.io.IOException utfFormatException()
fillBuffer
private boolean fillBuffer()
throws java.io.IOException
- Fill the buffer, return true if eof has been reached.
- Throws:
java.io.IOException
readUnsignedShort
private final int readUnsignedShort()
throws java.io.IOException
- Throws:
java.io.IOException
Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.