public class WrapperInputStream extends InputStream implements TypeCodeReader
| Constructor and Description |
|---|
WrapperInputStream(CDRInputObject s) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTypeCodeAtPosition(TypeCodeImpl tc,
int position) |
int |
available() |
void |
close() |
void |
consumeEndian() |
int |
getPosition() |
int |
getTopLevelPosition() |
TypeCodeReader |
getTopLevelStream() |
TypeCodeImpl |
getTypeCodeAtPosition(int position) |
void |
mark(int readlimit) |
boolean |
markSupported() |
ORB |
orb() |
void |
performORBVersionSpecificInit()
This must be called once before unmarshaling valuetypes or anything
that uses repository IDs.
|
void |
printTypeMap() |
Any |
read_any() |
void |
read_boolean_array(boolean[] value,
int offset,
int length) |
boolean |
read_boolean() |
void |
read_char_array(char[] value,
int offset,
int length) |
char |
read_char() |
Context |
read_Context() |
void |
read_double_array(double[] value,
int offset,
int length) |
double |
read_double() |
BigDecimal |
read_fixed() |
void |
read_float_array(float[] value,
int offset,
int length) |
float |
read_float() |
void |
read_long_array(int[] value,
int offset,
int length) |
int |
read_long() |
void |
read_longlong_array(long[] value,
int offset,
int length) |
long |
read_longlong() |
Object |
read_Object() |
void |
read_octet_array(byte[] value,
int offset,
int length) |
byte |
read_octet() |
Principal |
read_Principal() |
void |
read_short_array(short[] value,
int offset,
int length) |
short |
read_short() |
String |
read_string() |
TypeCode |
read_TypeCode() |
void |
read_ulong_array(int[] value,
int offset,
int length) |
int |
read_ulong() |
void |
read_ulonglong_array(long[] value,
int offset,
int length) |
long |
read_ulonglong() |
void |
read_ushort_array(short[] value,
int offset,
int length) |
short |
read_ushort() |
Serializable |
read_value() |
void |
read_wchar_array(char[] value,
int offset,
int length) |
char |
read_wchar() |
String |
read_wstring() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
void |
resetCodeSetConverters()
Tells the input stream to null any code set converter
references, forcing it to reacquire them if it needs
converters again.
|
void |
setEnclosingInputStream(InputStream enclosure) |
long |
skip(long n) |
read_abstract_interface, read_abstract_interface, read_value, read_value, read_value, read_valueread_Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitread_Objectpublic WrapperInputStream(CDRInputObject s)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long skip(long n)
throws IOException
skip in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic void mark(int readlimit)
mark in interface MarshalInputStreammark in class InputStreampublic void reset()
reset in interface MarshalInputStreamreset in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic int getPosition()
getPosition in interface MarshalInputStreamgetPosition in interface TypeCodeReaderpublic void consumeEndian()
consumeEndian in interface MarshalInputStreampublic boolean read_boolean()
read_boolean in interface MarshalInputStreamread_boolean in class InputStreampublic char read_char()
read_char in interface MarshalInputStreamread_char in class InputStreampublic char read_wchar()
read_wchar in interface MarshalInputStreamread_wchar in class InputStreampublic byte read_octet()
read_octet in interface MarshalInputStreamread_octet in class InputStreampublic short read_short()
read_short in interface MarshalInputStreamread_short in class InputStreampublic short read_ushort()
read_ushort in interface MarshalInputStreamread_ushort in class InputStreampublic int read_long()
read_long in interface MarshalInputStreamread_long in class InputStreampublic int read_ulong()
read_ulong in interface MarshalInputStreamread_ulong in class InputStreampublic long read_longlong()
read_longlong in interface MarshalInputStreamread_longlong in class InputStreampublic long read_ulonglong()
read_ulonglong in interface MarshalInputStreamread_ulonglong in class InputStreampublic float read_float()
read_float in interface MarshalInputStreamread_float in class InputStreampublic double read_double()
read_double in interface MarshalInputStreamread_double in class InputStreampublic String read_string()
read_string in interface MarshalInputStreamread_string in class InputStreampublic String read_wstring()
read_wstring in interface MarshalInputStreamread_wstring in class InputStreampublic void read_boolean_array(boolean[] value,
int offset,
int length)
read_boolean_array in interface MarshalInputStreamread_boolean_array in class InputStreampublic void read_char_array(char[] value,
int offset,
int length)
read_char_array in interface MarshalInputStreamread_char_array in class InputStreampublic void read_wchar_array(char[] value,
int offset,
int length)
read_wchar_array in interface MarshalInputStreamread_wchar_array in class InputStreampublic void read_octet_array(byte[] value,
int offset,
int length)
read_octet_array in interface MarshalInputStreamread_octet_array in class InputStreampublic void read_short_array(short[] value,
int offset,
int length)
read_short_array in interface MarshalInputStreamread_short_array in class InputStreampublic void read_ushort_array(short[] value,
int offset,
int length)
read_ushort_array in interface MarshalInputStreamread_ushort_array in class InputStreampublic void read_long_array(int[] value,
int offset,
int length)
read_long_array in interface MarshalInputStreamread_long_array in class InputStreampublic void read_ulong_array(int[] value,
int offset,
int length)
read_ulong_array in interface MarshalInputStreamread_ulong_array in class InputStreampublic void read_longlong_array(long[] value,
int offset,
int length)
read_longlong_array in interface MarshalInputStreamread_longlong_array in class InputStreampublic void read_ulonglong_array(long[] value,
int offset,
int length)
read_ulonglong_array in interface MarshalInputStreamread_ulonglong_array in class InputStreampublic void read_float_array(float[] value,
int offset,
int length)
read_float_array in interface MarshalInputStreamread_float_array in class InputStreampublic void read_double_array(double[] value,
int offset,
int length)
read_double_array in interface MarshalInputStreamread_double_array in class InputStreampublic Object read_Object()
read_Object in interface MarshalInputStreamread_Object in class InputStreampublic Serializable read_value()
read_value in interface MarshalInputStreamread_value in class InputStreampublic TypeCode read_TypeCode()
read_TypeCode in interface MarshalInputStreamread_TypeCode in class InputStreampublic Any read_any()
read_any in interface MarshalInputStreamread_any in class InputStreampublic Principal read_Principal()
read_Principal in interface MarshalInputStreamread_Principal in class InputStreampublic BigDecimal read_fixed()
read_fixed in class InputStreampublic Context read_Context()
read_Context in class InputStreampublic ORB orb()
orb in class InputStreampublic void addTypeCodeAtPosition(TypeCodeImpl tc, int position)
addTypeCodeAtPosition in interface TypeCodeReaderpublic TypeCodeImpl getTypeCodeAtPosition(int position)
getTypeCodeAtPosition in interface TypeCodeReaderpublic void setEnclosingInputStream(InputStream enclosure)
setEnclosingInputStream in interface TypeCodeReaderpublic TypeCodeReader getTopLevelStream()
getTopLevelStream in interface TypeCodeReaderpublic int getTopLevelPosition()
getTopLevelPosition in interface TypeCodeReaderpublic void performORBVersionSpecificInit()
MarshalInputStreamperformORBVersionSpecificInit in interface MarshalInputStreampublic void resetCodeSetConverters()
MarshalInputStreamresetCodeSetConverters in interface MarshalInputStreampublic void printTypeMap()
printTypeMap in interface TypeCodeReaderCopyright © 2017–2019 Eclipse Foundation. All rights reserved.