Spec-Zone .ru
спецификации, руководства, описания, API
|
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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()
Return the ORB that created this InputStream |
abstract Any |
read_any()
|
abstract void |
read_boolean_array(boolean[] value,
int offset,
int length)
|
abstract boolean |
read_boolean()
|
abstract void |
read_char_array(char[] value,
int offset,
int length)
|
abstract char |
read_char()
|
Context |
read_Context()
|
abstract void |
read_double_array(double[] value,
int offset,
int length)
|
abstract double |
read_double()
|
BigDecimal |
read_fixed()
|
abstract void |
read_float_array(float[] value,
int offset,
int length)
|
abstract float |
read_float()
|
abstract void |
read_long_array(int[] value,
int offset,
int length)
|
abstract int |
read_long()
|
abstract void |
read_longlong_array(long[] value,
int offset,
int length)
|
abstract long |
read_longlong()
|
abstract Object |
read_Object()
|
Object |
read_Object(Class clz)
read_Object 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)
|
abstract byte |
read_octet()
|
abstract Principal |
read_Principal()
Deprecated. Deprecated by CORBA 2.2. |
abstract void |
read_short_array(short[] value,
int offset,
int length)
|
abstract short |
read_short()
|
abstract String |
read_string()
|
abstract TypeCode |
read_TypeCode()
|
abstract void |
read_ulong_array(int[] value,
int offset,
int length)
|
abstract int |
read_ulong()
|
abstract void |
read_ulonglong_array(long[] value,
int offset,
int length)
|
abstract long |
read_ulonglong()
|
abstract void |
read_ushort_array(short[] value,
int offset,
int length)
|
abstract short |
read_ushort()
|
abstract void |
read_wchar_array(char[] value,
int offset,
int length)
|
abstract char |
read_wchar()
|
abstract String |
read_wstring()
|
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 abstract Principal read_Principal()
public int read() throws IOException
int
in the range 0
to
255
. If no byte is available because the end of the stream
has been reached, the value -1
is returned. This method
blocks until input data is available, the end of the stream is detected,
or an exception is thrown.
A subclass must provide an implementation of this method.
portable
package comments for unimplemented featurespublic BigDecimal read_fixed()
portable
package comments for unimplemented featurespublic Context read_Context()
portable
package comments for unimplemented featurespublic Object read_Object(Class clz)
portable
package comments for unimplemented featurespublic ORB orb()
portable
package comments for unimplemented features
|
JavaTM 2 Platform Standard Edition |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |