|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
net.sourceforge.jtds.util.BlobBuffer.AsciiInputStream
private class BlobBuffer.AsciiInputStream
An ASCII InputStream over the CLOB buffer.
| Field Summary | |
|---|---|
private boolean |
open
|
private int |
readPtr
|
| Constructor Summary | |
|---|---|
BlobBuffer.AsciiInputStream(long pos)
Costructs an InputStream object over the BLOB buffer. |
|
| Method Summary | |
|---|---|
int |
available()
Returns the number of bytes available to read. |
void |
close()
Closes the output stream. |
protected void |
finalize()
Ensures underlying BLOB file can be closed even if user does not close this stream. |
int |
read()
Read the next byte from the stream. |
| Methods inherited from class java.io.InputStream |
|---|
mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int readPtr
private boolean open
| Constructor Detail |
|---|
public BlobBuffer.AsciiInputStream(long pos)
throws java.io.IOException
pos - the starting position (from 0)
java.io.IOException - if an I/O error occurs| Method Detail |
|---|
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable
public int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOException - if an I/O error occurs
public int read()
throws java.io.IOException
read in class java.io.InputStreamint or -1 if at EOF
java.io.IOException - if an I/O error occurs
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.InputStreamjava.io.IOException - if an I/O error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||