📄 inputstream.html
字号:
public abstract void <B>read_char_array</B>(char[] value, int offset, int length)</PRE><DL><DD>Reads an array of chars from this input stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - returned array of chars.<DD><CODE>offset</CODE> - offset on the stream.<DD><CODE>length</CODE> - length of buffer to read</DL></DD></DL><HR><A NAME="read_wchar_array(char[], int, int)"><!-- --></A><H3>read_wchar_array</H3><PRE>public abstract void <B>read_wchar_array</B>(char[] value, int offset, int length)</PRE><DL><DD>Reads an array of wide chars from this input stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - returned array of wide chars.<DD><CODE>offset</CODE> - offset on the stream.<DD><CODE>length</CODE> - length of buffer to read</DL></DD></DL><HR><A NAME="read_octet_array(byte[], int, int)"><!-- --></A><H3>read_octet_array</H3><PRE>public abstract void <B>read_octet_array</B>(byte[] value, int offset, int length)</PRE><DL><DD>Reads an array of octets (i.e. bytes) from this input stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - returned array of octets (i.e. bytes).<DD><CODE>offset</CODE> - offset on the stream.<DD><CODE>length</CODE> - length of buffer to read</DL></DD></DL><HR><A NAME="read_short_array(short[], int, int)"><!-- --></A><H3>read_short_array</H3><PRE>public abstract void <B>read_short_array</B>(short[] value, int offset, int length)</PRE><DL><DD>Reads an array of shorts from this input stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - returned array of shorts.<DD><CODE>offset</CODE> - offset on the stream.<DD><CODE>length</CODE> - length of buffer to read</DL></DD></DL><HR><A NAME="read_ushort_array(short[], int, int)"><!-- --></A><H3>read_ushort_array</H3><PRE>public abstract void <B>read_ushort_array</B>(short[] value, int offset, int length)</PRE><DL><DD>Reads an array of unsigned shorts from this input stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - returned array of shorts.<DD><CODE>offset</CODE> - offset on the stream.<DD><CODE>length</CODE> - length of buffer to read</DL></DD></DL><HR><A NAME="read_long_array(int[], int, int)"><!-- --></A><H3>read_long_array</H3><PRE>public abstract void <B>read_long_array</B>(int[] value, int offset, int length)</PRE><DL><DD>Reads an array of CORBA longs (i.e. Java ints) from this input stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - returned array of CORBA longs (i.e. Java ints).<DD><CODE>offset</CODE> - offset on the stream.<DD><CODE>length</CODE> - length of buffer to read</DL></DD></DL><HR><A NAME="read_ulong_array(int[], int, int)"><!-- --></A><H3>read_ulong_array</H3><PRE>public abstract void <B>read_ulong_array</B>(int[] value, int offset, int length)</PRE><DL><DD>Reads an array of unsigned CORBA longs (i.e. Java ints) from this input stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - returned array of CORBA longs (i.e. Java ints).<DD><CODE>offset</CODE> - offset on the stream.<DD><CODE>length</CODE> - length of buffer to read</DL></DD></DL><HR><A NAME="read_longlong_array(long[], int, int)"><!-- --></A><H3>read_longlong_array</H3><PRE>public abstract void <B>read_longlong_array</B>(long[] value, int offset, int length)</PRE><DL><DD>Reads an array of CORBA longlongs (i.e. Java longs) from this input stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - returned array of CORBA longs (i.e. Java longs).<DD><CODE>offset</CODE> - offset on the stream.<DD><CODE>length</CODE> - length of buffer to read</DL></DD></DL><HR><A NAME="read_ulonglong_array(long[], int, int)"><!-- --></A><H3>read_ulonglong_array</H3><PRE>public abstract void <B>read_ulonglong_array</B>(long[] value, int offset, int length)</PRE><DL><DD>Reads an array of unsigned CORBA longlongs (i.e. Java longs) from this input stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - returned array of CORBA longs (i.e. Java longs).<DD><CODE>offset</CODE> - offset on the stream.<DD><CODE>length</CODE> - length of buffer to read</DL></DD></DL><HR><A NAME="read_float_array(float[], int, int)"><!-- --></A><H3>read_float_array</H3><PRE>public abstract void <B>read_float_array</B>(float[] value, int offset, int length)</PRE><DL><DD>Reads an array of floats from this input stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - returned array of floats.<DD><CODE>offset</CODE> - offset on the stream.<DD><CODE>length</CODE> - length of buffer to read</DL></DD></DL><HR><A NAME="read_double_array(double[], int, int)"><!-- --></A><H3>read_double_array</H3><PRE>public abstract void <B>read_double_array</B>(double[] value, int offset, int length)</PRE><DL><DD>Reads an array of boubles from this input stream.<DD><DL><DT><B>Parameters:</B><DD><CODE>value</CODE> - returned array of doubles.<DD><CODE>offset</CODE> - offset on the stream.<DD><CODE>length</CODE> - length of buffer to read</DL></DD></DL><HR><A NAME="read_Object()"><!-- --></A><H3>read_Object</H3><PRE>public abstract <A HREF="../../../../org/omg/CORBA/Object.html">Object</A> <B>read_Object</B>()</PRE><DL><DD>Reads a CORBA object from this input stream.</DL><HR><A NAME="read_TypeCode()"><!-- --></A><H3>read_TypeCode</H3><PRE>public abstract <A HREF="../../../../org/omg/CORBA/TypeCode.html">TypeCode</A> <B>read_TypeCode</B>()</PRE><DL><DD>Reads a TypeCode from this input stream.</DL><HR><A NAME="read_any()"><!-- --></A><H3>read_any</H3><PRE>public abstract <A HREF="../../../../org/omg/CORBA/Any.html">Any</A> <B>read_any</B>()</PRE><DL><DD>Reads an Any from this input stream.</DL><HR><A NAME="read_Principal()"><!-- --></A><H3>read_Principal</H3><PRE>public abstract <A HREF="../../../../org/omg/CORBA/Principal.html">Principal</A> <B>read_Principal</B>()</PRE><DL><DD><B>Deprecated.</B> <I>Deprecated by CORBA 2.2.</I><P><DD>Returns principle for invocation.<DD><DL><DT><B>Returns:</B><DD>Principle for invocation.</DL></DD></DL><HR><A NAME="read()"><!-- --></A><H3>read</H3><PRE>public int <B>read</B>() throws <A HREF="../../../../java/io/IOException.html">IOException</A></PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../java/io/InputStream.html">InputStream</A></CODE></B></DD><DD>Reads the next byte of data from the input stream. The value byte is returned as an <code>int</code> in the range <code>0</code> to <code>255</code>. If no byte is available because the end of the stream has been reached, the value <code>-1</code> is returned. This method blocks until input data is available, the end of the stream is detected, or an exception is thrown. <p> A subclass must provide an implementation of this method.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../java/io/InputStream.html#read()">read</A></CODE> in class <CODE><A HREF="../../../../java/io/InputStream.html">InputStream</A></CODE></DL></DD><DD><DL><DT><B>See Also: </B><DD><a href="package-summary.html#unimpl"><code>portable</code> package comments for unimplemented features</a></DL></DD></DL><HR><A NAME="read_fixed()"><!-- --></A><H3>read_fixed</H3><PRE>public <A HREF="../../../../java/math/BigDecimal.html">BigDecimal</A> <B>read_fixed</B>()</PRE><DL><DD>Reads a BigDecimal number.<DD><DL><DT><B>Returns:</B><DD>a java.math.BigDecimal number.<DT><B>See Also: </B><DD><a href="package-summary.html#unimpl"><code>portable</code> package comments for unimplemented features</a></DL></DD></DL><HR><A NAME="read_Context()"><!-- --></A><H3>read_Context</H3><PRE>public <A HREF="../../../../org/omg/CORBA/Context.html">Context</A> <B>read_Context</B>()</PRE><DL><DD>Reads a CORBA context from the stream.<DD><DL><DT><B>Returns:</B><DD>a CORBA context.<DT><B>See Also: </B><DD><a href="package-summary.html#unimpl"><code>portable</code> package comments for unimplemented features</a></DL></DD></DL><HR><A NAME="read_Object(java.lang.Class)"><!-- --></A><H3>read_Object</H3><PRE>public <A HREF="../../../../org/omg/CORBA/Object.html">Object</A> <B>read_Object</B>(<A HREF="../../../../java/lang/Class.html">Class</A> clz)</PRE><DL><DD>read_Object 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.<DD><DL><DT><B>Parameters:</B><DD><CODE>clz</CODE> - a Class object, one of whose instances this method will read and return from the stream.<DT><B>Returns:</B><DD>an Object instance of clz read from this stream.<DT><B>See Also: </B><DD><a href="package-summary.html#unimpl"><code>portable</code> package comments for unimplemented features</a></DL></DD></DL><HR><A NAME="orb()"><!-- --></A><H3>orb</H3><PRE>public <A HREF="../../../../org/omg/CORBA/ORB.html">ORB</A> <B>orb</B>()</PRE><DL><DD>Returns the ORB that created this InputStream.<DD><DL><DT><B>Returns:</B><DD>an ORB object.<DT><B>See Also: </B><DD><a href="package-summary.html#unimpl"><code>portable</code> package comments for unimplemented features</a></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/InputStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/omg/CORBA/portable/Delegate.html"><B>PREV CLASS</B></A> <A HREF="../../../../org/omg/CORBA/portable/ObjectImpl.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="InputStream.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -