FileDocCategorySizeDatePackage
InputStream.javaAPI DocJava SE 5 API10170Fri Aug 26 14:58:34 BST 2005org.omg.CORBA.portable

InputStream

public abstract class InputStream extends 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.
version
1.12, 04/22/98
since
JDK1.2

Fields Summary
Constructors Summary
Methods Summary
public org.omg.CORBA.ORBorb()
Returns the ORB that created this InputStream.

return
the ORB object that created this stream
see
portable package comments for unimplemented features

	throw new org.omg.CORBA.NO_IMPLEMENT();
    
public intread()

see
portable package comments for unimplemented features

        throw new org.omg.CORBA.NO_IMPLEMENT();
    
public org.omg.CORBA.Contextread_Context()
Reads a CORBA context from the stream.

return
a CORBA context
see
portable package comments for unimplemented features

        throw new org.omg.CORBA.NO_IMPLEMENT();
    
public abstract org.omg.CORBA.Objectread_Object()
Reads a CORBA object from this input stream.

return
the Object instance read from this input stream.

public org.omg.CORBA.Objectread_Object(java.lang.Class clz)
Unmarshals an object and returns a CORBA Object, which is an instance of the class passed as its argument. This class is the stub class of the expected type.

param
clz The Class object for the stub class which corresponds to the type that is statistically expected, or the Class object for the RMI/IDL interface type that is statistically expected.
return
an Object instance of clz read from this stream
see
portable package comments for unimplemented features

	throw new org.omg.CORBA.NO_IMPLEMENT();
    
public org.omg.CORBA.Principalread_Principal()
Returns principal for invocation.

return
Principal for invocation.
deprecated
Deprecated by CORBA 2.2.

        throw new org.omg.CORBA.NO_IMPLEMENT();
    
public abstract org.omg.CORBA.TypeCoderead_TypeCode()
Reads a TypeCode from this input stream.

return
the TypeCode instance read from this input stream.

public abstract org.omg.CORBA.Anyread_any()
Reads an Any from this input stream.

return
the Any instance read from this input stream.

public abstract booleanread_boolean()
Reads a boolean value from this input stream.

return
the boolean value read from this input stream

public abstract voidread_boolean_array(boolean[] value, int offset, int length)
Reads an array of booleans from this input stream.

param
value returned array of booleans.
param
offset offset on the stream.
param
length length of buffer to read.

public abstract charread_char()
Reads a char value from this input stream.

return
the char value read from this input stream

public abstract voidread_char_array(char[] value, int offset, int length)
Reads an array of chars from this input stream.

param
value returned array of chars.
param
offset offset on the stream.
param
length length of buffer to read.

public abstract doubleread_double()
Reads a double value from this input stream.

return
the double value read from this input stream

public abstract voidread_double_array(double[] value, int offset, int length)
Reads an array of doubles from this input stream.

param
value returned array of doubles.
param
offset offset on the stream.
param
length length of buffer to read.

public java.math.BigDecimalread_fixed()
Reads a BigDecimal number.

return
a java.math.BigDecimal number

        throw new org.omg.CORBA.NO_IMPLEMENT();
    
public abstract floatread_float()
Reads a float value from this input stream.

return
the float value read from this input stream

public abstract voidread_float_array(float[] value, int offset, int length)
Reads an array of floats from this input stream.

param
value returned array of floats.
param
offset offset on the stream.
param
length length of buffer to read.

public abstract intread_long()
Reads a CORBA long (that is, Java int) value from this input stream.

return
the int value read from this input stream

public abstract voidread_long_array(int[] value, int offset, int length)
Reads an array of CORBA longs (that is, Java ints) from this input stream.

param
value returned array of CORBA longs (that is, Java ints).
param
offset offset on the stream.
param
length length of buffer to read.

public abstract longread_longlong()
Reads a CORBA longlong (that is, Java long) value from this input stream.

return
the long value read from this input stream

public abstract voidread_longlong_array(long[] value, int offset, int length)
Reads an array of CORBA longlongs (that is, Java longs) from this input stream.

param
value returned array of CORBA longs (that is, Java longs).
param
offset offset on the stream.
param
length length of buffer to read.

public abstract byteread_octet()
Reads an octet (that is, a byte) value from this input stream.

return
the byte value read from this input stream

public abstract voidread_octet_array(byte[] value, int offset, int length)
Reads an array of octets (that is, bytes) from this input stream.

param
value returned array of octets (that is, bytes).
param
offset offset on the stream.
param
length length of buffer to read.

public abstract shortread_short()
Reads a short value from this input stream.

return
the short value read from this input stream

public abstract voidread_short_array(short[] value, int offset, int length)
Reads an array of shorts from this input stream.

param
value returned array of shorts.
param
offset offset on the stream.
param
length length of buffer to read.

public abstract java.lang.Stringread_string()
Reads a string value from this input stream.

return
the String value read from this input stream

public abstract intread_ulong()
Reads an unsigned CORBA long (that is, Java int) value from this input stream.

return
the int value read from this input stream

public abstract voidread_ulong_array(int[] value, int offset, int length)
Reads an array of unsigned CORBA longs (that is, Java ints) from this input stream.

param
value returned array of CORBA longs (that is, Java ints).
param
offset offset on the stream.
param
length length of buffer to read.

public abstract longread_ulonglong()
Reads a CORBA unsigned longlong (that is, Java long) value from this input stream.

return
the long value read from this input stream

public abstract voidread_ulonglong_array(long[] value, int offset, int length)
Reads an array of unsigned CORBA longlongs (that is, Java longs) from this input stream.

param
value returned array of CORBA longs (that is, Java longs).
param
offset offset on the stream.
param
length length of buffer to read.

public abstract shortread_ushort()
Reads a unsigned short value from this input stream.

return
the short value read from this input stream

public abstract voidread_ushort_array(short[] value, int offset, int length)
Reads an array of unsigned shorts from this input stream.

param
value returned array of shorts.
param
offset offset on the stream.
param
length length of buffer to read.

public abstract charread_wchar()
Reads a wide char value from this input stream.

return
the char value read from this input stream

public abstract voidread_wchar_array(char[] value, int offset, int length)
Reads an array of wide chars from this input stream.

param
value returned array of wide chars.
param
offset offset on the stream.
param
length length of buffer to read.

public abstract java.lang.Stringread_wstring()
Reads a wide string value from this input stream.

return
the String value read from this input stream