|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.io.InputStream
|
+--com.ibm.as400.access.AS400JDBCInputStream
The AS400JDBCInputStream class provides access to binary data using an input stream. The data is valid only within the current transaction.
| Method Summary | |
int |
available()
Returns the number of bytes that can be read without blocking. |
void |
close()
Closes the stream and releases any associated system resources. |
void |
mark(int readLimit)
Marks the current position in the stream. |
boolean |
markSupported()
Indicates if mark() and reset() are supported. |
int |
read()
Reads the next byte of data. |
int |
read(byte[] data)
Reads bytes of data. |
int |
read(byte[] data,
int start,
int length)
Reads bytes of data. |
void |
reset()
Repositions to the marked position. |
long |
skip(long length)
Skips over and discards data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOException - If an input/output error occurs.
public void close()
throws java.io.IOException
close in class java.io.InputStreamjava.io.IOException - If an input/output error occurs.public void mark(int readLimit)
mark in class java.io.InputStreamreadLimit - The read limit.public boolean markSupported()
markSupported in class java.io.InputStream
public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException - If an input/output error occurs.
public int read(byte[] data)
throws java.io.IOException
read in class java.io.InputStreamdata - The byte array to fill with data. This method
will read as much data as possible to fill
the array.java.io.IOException - If an input/output error occurs.
public int read(byte[] data,
int start,
int length)
throws java.io.IOException
read in class java.io.InputStreamdata - The byte array to fill with data. This method
will read as much data as possible to fill
the array.start - The start position in the array.length - The maximum number of bytes to read.java.io.IOException - If an input/output error occurs.
public void reset()
throws java.io.IOException
reset in class java.io.InputStreamjava.io.IOException - If an input/output error occurs.
public long skip(long length)
throws java.io.IOException
skip in class java.io.InputStreamlength - The maximum number of bytes to skip. If negative,
no bytes are skipped.java.io.IOException - If an input/output error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||