|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
org.omg.CORBA.portable.InputStream
org.omg.CORBA_2_3.portable.InputStream
org.openorb.io.AbstractInputStream
This class can be used as a base class for buffer input stream implementations. It handles buffer management.
Constructor Summary | |
AbstractInputStream(BufferSource source)
|
|
AbstractInputStream(StorageBuffer buf)
|
Method Summary | |
int |
available()
Available bytes in the input buffer. |
java.lang.String |
get_codebase()
Get codebase associated with stream. |
void |
mark(int readlimit)
|
boolean |
markSupported()
|
int |
read()
A read single octet from stream. |
int |
read(byte[] val)
Read array from stream. |
int |
read(byte[] val,
int off,
int len)
Read array from stream. |
void |
reset()
|
long |
skip(long count)
Skip over bytes in the input buffer. |
Methods inherited from class org.omg.CORBA_2_3.portable.InputStream |
read_abstract_interface, read_abstract_interface, read_value, read_value, read_value, read_value, read_value |
Methods inherited from class org.omg.CORBA.portable.InputStream |
orb, read_any, read_boolean_array, read_boolean, read_char_array, read_char, read_Context, read_double_array, read_double, read_fixed, read_float_array, read_float, read_long_array, read_long, read_longlong_array, read_longlong, read_Object, read_Object, read_octet_array, read_octet, read_Principal, read_short_array, read_short, read_string, read_TypeCode, read_ulong_array, read_ulong, read_ulonglong_array, read_ulonglong, read_ushort_array, read_ushort, read_wchar_array, read_wchar, read_wstring |
Methods inherited from class java.io.InputStream |
close |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.openorb.io.ExtendedInputStream |
orb, read_fixed, read_fixed |
Constructor Detail |
public AbstractInputStream(StorageBuffer buf)
public AbstractInputStream(BufferSource source)
Method Detail |
public java.lang.String get_codebase()
get_codebase
in interface ExtendedInputStream
public int read() throws java.io.IOException
read
in class InputStream
java.io.IOException
public int read(byte[] val)
public int read(byte[] val, int off, int len)
public int available()
public boolean markSupported()
public void mark(int readlimit)
public void reset() throws java.io.IOException
java.io.IOException
public long skip(long count)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |