|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.Reader
com.caucho.db.blob.ClobReader
public class ClobReader
Field Summary |
---|
Fields inherited from class java.io.Reader |
---|
lock |
Constructor Summary | |
---|---|
ClobReader(BlockStore store,
byte[] inode,
int inodeOffset)
Creates a clob reader. |
|
ClobReader(Inode inode)
Creates a clob reader. |
Method Summary | |
---|---|
void |
close()
Closes the buffer. |
void |
init(BlockStore store,
byte[] inode,
int inodeOffset)
Initialize the output stream. |
int |
read()
Reads a char. |
int |
read(char[] buf,
int offset,
int length)
Reads a buffer. |
static long |
readLong(byte[] buffer,
int offset)
Writes the long. |
Methods inherited from class java.io.Reader |
---|
mark, markSupported, read, read, ready, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClobReader(BlockStore store, byte[] inode, int inodeOffset)
store
- the backing storepublic ClobReader(Inode inode)
store
- the backing storeMethod Detail |
---|
public void init(BlockStore store, byte[] inode, int inodeOffset)
public int read() throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
public int read(char[] buf, int offset, int length) throws java.io.IOException
read
in class java.io.Reader
java.io.IOException
public void close()
close
in interface java.io.Closeable
close
in class java.io.Reader
public static long readLong(byte[] buffer, int offset)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |