|
Servertec Persistent Object Store 1.4.1 09/04/2005 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
stec.xpos.ObjectStoreInputStream
public class ObjectStoreInputStream
Represents an input stream to a persistent object store value.
getInputStream,
InputStream| Method Summary | |
|---|---|
void |
close()
Closes this input stream. |
int |
getType()
Returns input stream type. |
boolean |
isOpen()
Returns whether this input stream is still open. |
int |
length()
Returns the size in bytes of the input stream. |
int |
offset()
Returns the current offset into the input stream. |
int |
read()
Reads a byte from the input stream. |
int |
read(byte[] buffer)
Reads into the specified array from the input stream. |
int |
read(byte[] buffer,
int offset,
int length)
Reads into the specified byte array from the input stream. |
long |
skip(long n)
Skips over the specified number of bytes. |
| Methods inherited from class java.io.InputStream |
|---|
available, mark, markSupported, reset |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public final int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException - if an I/O exception occurred.
public final int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
read in class java.io.InputStreambuffer - the buffer to read into.offset - the starting offset into the buffer.length - the maximum number of bytes to read.
java.io.IOException - if an I/O exception occurred.
public final int read(byte[] buffer)
throws java.io.IOException
read in class java.io.InputStreambuffer - the buffer to read into.
java.io.IOException - if an I/O exception occurred.
public final long skip(long n)
throws java.io.IOException
skip in class java.io.InputStreamn - the number of bytes to skip.
java.io.IOException - if an I/O exception occurred.
public final int getType()
throws java.io.IOException
java.io.IOException - if an I/O exception occurred.
public final int length()
throws java.io.IOException
java.io.IOException - if an I/O exception occurred.
public final int offset()
throws java.io.IOException
java.io.IOException - if an I/O exception occurred.
public final boolean isOpen()
throws java.io.IOException
java.io.IOException - if an I/O exception occurred.
public final void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.InputStreamjava.io.IOException - if this input stream is closed or if an I/O exception occurs.
|
Servertec Persistent Object Store 1.4.1 09/04/2005 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2001-2005 Servertec. All rights reserved.