public abstract class InputStream extends InputStream
_array版本可以直接用来读取序列和IDL类型数组。
| Constructor and Description |
|---|
InputStream() |
| Modifier and Type | Method and Description |
|---|---|
ORB |
orb()
返回创建此InputStream ORB。
|
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()
从流中读取一个CORBA上下文。
|
abstract void |
read_double_array(double[] value, int offset, int length)
从这个输入流读取一个数组的一倍。
|
abstract double |
read_double()
从这个输入流读取一个双值。
|
BigDecimal |
read_fixed()
读取一个BigDecimal数。
|
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)
读取CORBA数组多头(即java对象)从输入流。
|
abstract int |
read_long()
读取一个CORBA长(即java int)从输入流中的价值。
|
abstract void |
read_longlong_array(long[] value, int offset, int length)
CORBA longlongs读取数组(即java渴望)从输入流。
|
abstract long |
read_longlong()
读取一个CORBA龙龙(即java长)从输入流中的价值。
|
abstract Object |
read_Object()
从输入流中读取一个CORBA对象。
|
Object |
read_Object(类 clz)
解封对象并返回一个对象,这是类的实例作为参数传递。
|
abstract void |
read_octet_array(byte[] value, int offset, int length)
读取的字节数组(即字节)从输入流。
|
abstract byte |
read_octet()
读取一个字节(即一个字节)从输入流中的价值。
|
Principal |
read_Principal()
过时的。
通过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()
读取输入流的一个
TypeCode。
|
abstract void |
read_ulong_array(int[] value, int offset, int length)
读取数组符号CORBA的渴望(即java对象)从输入流。
|
abstract int |
read_ulong()
读一个符号的CORBA长(即java int)从输入流中的价值。
|
abstract void |
read_ulonglong_array(long[] value, int offset, int length)
读取符号的CORBA longlongs数组(即java渴望)从输入流。
|
abstract long |
read_ulonglong()
读取一个CORBA符号龙龙(即java长)从输入流中的价值。
|
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()
从输入流读取下一个数据字节。
|
available, close, mark, markSupported, read, read, reset, skippublic abstract boolean read_boolean()
boolean值从输入流中读取
public abstract char read_char()
char值从输入流中读取
public abstract char read_wchar()
char值从输入流中读取
public abstract byte read_octet()
byte值从输入流中读取
public abstract short read_short()
short值从输入流中读取
public abstract short read_ushort()
short值从输入流中读取
public abstract int read_long()
int值从输入流中读取
public abstract int read_ulong()
int值从输入流中读取
public abstract long read_longlong()
long值从输入流中读取
public abstract long read_ulonglong()
long值从输入流中读取
public abstract float read_float()
float值从输入流中读取
public abstract double read_double()
double值从输入流中读取
public abstract String read_string()
String值从输入流中读取
public abstract String read_wstring()
String值从输入流中读取
public abstract void read_boolean_array(boolean[] value,
int offset,
int length)
value -布尔值返回的数组。
offset偏置在流。
length长度的缓冲区读。
public abstract void read_char_array(char[] value,
int offset,
int length)
value -返回字符数组。
offset偏置在流。
length长度的缓冲区读。
public abstract void read_wchar_array(char[] value,
int offset,
int length)
value返回宽字符数组。
offset偏置在流。
length长度的缓冲区读。
public abstract void read_octet_array(byte[] value,
int offset,
int length)
value返回数组的字节(即字节)。
offset偏置在流。
length长度的缓冲区读。
public abstract void read_short_array(short[] value,
int offset,
int length)
value -短裤返回数组。
offset偏置在流。
length长度的缓冲区读。
public abstract void read_ushort_array(short[] value,
int offset,
int length)
value -短裤返回数组。
offset偏置在流。
length长度的缓冲区读。
public abstract void read_long_array(int[] value,
int offset,
int length)
value corba返回数组的渴望(即java对象)。
offset偏置在流。
length长度的缓冲区读。
public abstract void read_ulong_array(int[] value,
int offset,
int length)
value corba返回数组的渴望(即java对象)。
offset -。
length长度的缓冲区读。
public abstract void read_longlong_array(long[] value,
int offset,
int length)
value corba返回数组的渴望(即java的渴望)。
offset -。
length长度的缓冲区读。
public abstract void read_ulonglong_array(long[] value,
int offset,
int length)
value corba返回数组的渴望(即java的渴望)。
offset偏置在流。
length长度的缓冲区读。
public abstract void read_float_array(float[] value,
int offset,
int length)
value返回数组的彩车。
offset -。
length长度的缓冲区读。
public abstract void read_double_array(double[] value,
int offset,
int length)
value -双打返回数组。
offset偏置在流。
length长度的缓冲区读。
public abstract Object read_Object()
Object实例。
public abstract TypeCode read_TypeCode()
TypeCode。
TypeCode实例。
public abstract Any read_any()
Any实例。
@Deprecated public Principal read_Principal()
public int read()
throws IOException
InputStream
0到
255一
int返回。如果没有可用的字节,因为已到达流的末尾,则返回值
-1。此方法块,直到输入数据可用,流的结束被检测到,或抛出异常。
子类必须提供这种方法的实现。
read 方法重写,继承类
InputStream
-1如果到达流的末尾。
IOException如果I/O错误发生。
portable package comments for unimplemented features
public BigDecimal read_fixed()
public Context read_Context()
portable package comments for unimplemented features
public Object read_Object(类 clz)
clz -对应的类型,有预期的存根类的类对象,或对象的RMI/IDL接口类型,统计的预期。
portable package comments for unimplemented features
public ORB orb()
ORB对象
portable package comments for unimplemented features
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.