java.lang.Object java.io.InputStream org.omg.CORBA.portable.InputStream
InputStream is the Java API for reading IDL types from CDR marshal streams. These methods are used by the ORB to unmarshal IDL types as well as to extract IDL types out of Anys. The _array versions of the methods can be directly used to read sequences and arrays of IDL types.
Constructor Summary | |
---|---|
InputStream
() |
Method Summary | |
---|---|
ORB |
orb
() Returns the ORB that created this InputStream. |
abstract Any |
read_any
() Reads an Any from this input stream. |
abstract void |
read_boolean_array
(boolean[] value, int offset, int length) Reads an array of booleans from this input stream. |
abstract boolean |
read_boolean
() Reads a boolean value from this input stream. |
abstract void |
read_char_array
(char[] value, int offset, int length) Reads an array of chars from this input stream. |
abstract char |
read_char
() Reads a char value from this input stream. |
Context |
read_Context
() Reads a CORBA context from the stream. |
abstract void |
read_double_array
(double[] value, int offset, int length) Reads an array of doubles |
abstract double |
read_double
() Reads a double value from this input stream. |
BigDecimal |
read_fixed
() Reads a BigDecimal number. |
abstract void |
read_float_array
(float[] value, int offset, int length) Reads an array of floats from this input stream. |
abstract float |
read_float
() Reads a float value from this input stream. |
abstract void |
read_long_array
(int[] value, int offset, int length) Reads an array of CORBA longs (that is, Java ints) from this input stream. |
abstract int |
read_long
() Reads a CORBA long (that is, Java int) value from this input stream. |
abstract void |
read_longlong_array
(long[] value, int offset, int length) Reads an array of CORBA longlongs (that is, Java longs) from this input stream. |
abstract long |
read_longlong
() Reads a CORBA longlong (that is, Java long) value from this input stream. |
abstract Object |
read_Object
() Reads a CORBA object from this input stream. |
Object |
read_Object
(
Class
clz) Unmarshals an object and returns a CORBA Object, which is an instance of the class passed as its argument. |
abstract void |
read_octet_array
(byte[] value, int offset, int length) Reads an array of octets (that is, bytes) from this input stream. |
abstract byte |
read_octet
() Reads an octet (that is, a byte) value from this input stream. |
Principal |
read_Principal
() Deprecated. Deprecated by CORBA 2.2. |
abstract void |
read_short_array
(short[] value, int offset, int length) Reads an array of shorts from this input stream. |
abstract short |
read_short
() Reads a short value from this input stream. |
abstract String |
read_string
() Reads a string value from this input stream. |
abstract TypeCode |
read_TypeCode
() Reads a TypeCode from this input stream. |
abstract void |
read_ulong_array
(int[] value, int offset, int length) Reads an array of unsigned CORBA longs (that is, Java ints) from this input stream. |
abstract int |
read_ulong
() Reads an unsigned CORBA long (that is, Java int) value from this input stream. |
abstract void |
read_ulonglong_array
(long[] value, int offset, int length) Reads an array of unsigned CORBA longlongs (that is, Java longs) from this input stream. |
abstract long |
read_ulonglong
() Reads a CORBA unsigned longlong (that is, Java long) value from this input stream. |
abstract void |
read_ushort_array
(short[] value, int offset, int length) Reads an array of unsigned shorts from this input stream. |
abstract short |
read_ushort
() Reads a unsigned short value from this input stream. |
abstract void |
read_wchar_array
(char[] value, int offset, int length) Reads an array of wide chars from this input stream. |
abstract char |
read_wchar
() Reads a wide char value from this input stream. |
abstract String |
read_wstring
() Reads a wide string value from this input stream. |
int |
read
() Reads the next byte of data from the input stream. |
Methods inherited from class java.io. InputStream |
---|
available , close , mark , markSupported , read , read , reset , skip |
Methods inherited from class java.lang. Object |
---|
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
Constructor Detail |
---|
public InputStream()
Method Detail |
---|
public abstract boolean read_boolean()
public abstract char read_char()
public abstract char read_wchar()
public abstract byte read_octet()
public abstract short read_short()
public abstract short read_ushort()
public abstract int read_long()
public abstract int read_ulong()
public abstract long read_longlong()
public abstract long read_ulonglong()
public abstract float read_float()
public abstract double read_double()
public abstract String read_string()
public abstract String read_wstring()
public abstract void read_boolean_array(boolean[] value, int offset, int length)
public abstract void read_char_array(char[] value, int offset, int length)
public abstract void read_wchar_array(char[] value, int offset, int length)
public abstract void read_octet_array(byte[] value, int offset, int length)
public abstract void read_short_array(short[] value, int offset, int length)
public abstract void read_ushort_array(short[] value, int offset, int length)
public abstract void read_long_array(int[] value, int offset, int length)
public abstract void read_ulong_array(int[] value, int offset, int length)
public abstract void read_longlong_array(long[] value, int offset, int length)
public abstract void read_ulonglong_array(long[] value, int offset, int length)
public abstract void read_float_array(float[] value, int offset, int length)
public abstract void read_double_array(double[] value, int offset, int length)
public abstract Object read_Object()
public abstract TypeCode read_TypeCode()
public abstract Any read_any()
public Principal read_Principal()
public int read() throws IOException
A subclass must provide an implementation of this method.
public BigDecimal read_fixed()
public Context read_Context()
public Object read_Object(Class clz)
public ORB orb()