📄 datainputstream.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Thu Apr 27 23:42:56 PDT 2000 --><TITLE>Java 2 Platform SE v1.3: Interface DataInputStream</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_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/DataInputStream.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/CustomMarshal.html"><B>PREV CLASS</B></A> <A HREF="../../../org/omg/CORBA/DataOutputStream.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="DataInputStream.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.omg.CORBA</FONT><BR>Interface DataInputStream</H2><DL><DT><B>All Superinterfaces:</B> <DD><A HREF="../../../org/omg/CORBA/portable/IDLEntity.html">IDLEntity</A>, <A HREF="../../../java/io/Serializable.html">Serializable</A>, <A HREF="../../../org/omg/CORBA/portable/ValueBase.html">ValueBase</A></DD></DL><HR><DL><DT>public interface <B>DataInputStream</B><DT>extends <A HREF="../../../org/omg/CORBA/portable/ValueBase.html">ValueBase</A></DL><P>Defines the methods used to read primitive data types from input streams for unmarshaling custom value types. This interface is used by user written custom unmarshaling code for custom value types.<P><DL><DT><B>See Also: </B><DD><A HREF="../../../org/omg/CORBA/DataOutputStream.html"><CODE>DataOutputStream</CODE></A>, <A HREF="../../../org/omg/CORBA/CustomMarshal.html"><CODE>CustomMarshal</CODE></A></DL><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_Abstract()">read_Abstract</A></B>()</CODE><BR> Reads an IDL Abstract interface from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_any_array(org.omg.CORBA.AnySeqHolder, int, int)">read_any_array</A></B>(<A HREF="../../../org/omg/CORBA/AnySeqHolder.html">AnySeqHolder</A> seq, int offset, int length)</CODE><BR> Reads array of IDL Anys from offset for length elements from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/omg/CORBA/Any.html">Any</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_any()">read_any</A></B>()</CODE><BR> Reads an IDL <code>Any</code> value from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_boolean_array(org.omg.CORBA.BooleanSeqHolder, int, int)">read_boolean_array</A></B>(<A HREF="../../../org/omg/CORBA/BooleanSeqHolder.html">BooleanSeqHolder</A> seq, int offset, int length)</CODE><BR> Reads array of IDL booleans from offset for length elements from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_boolean()">read_boolean</A></B>()</CODE><BR> Reads an IDL boolean value from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_char_array(org.omg.CORBA.CharSeqHolder, int, int)">read_char_array</A></B>(<A HREF="../../../org/omg/CORBA/CharSeqHolder.html">CharSeqHolder</A> seq, int offset, int length)</CODE><BR> Reads array of IDL characters from offset for length elements from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> char</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_char()">read_char</A></B>()</CODE><BR> Reads an IDL character value from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_double_array(org.omg.CORBA.DoubleSeqHolder, int, int)">read_double_array</A></B>(<A HREF="../../../org/omg/CORBA/DoubleSeqHolder.html">DoubleSeqHolder</A> seq, int offset, int length)</CODE><BR> Reads array of IDL doubles from offset for length elements from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_double()">read_double</A></B>()</CODE><BR> Reads an IDL double from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_float_array(org.omg.CORBA.FloatSeqHolder, int, int)">read_float_array</A></B>(<A HREF="../../../org/omg/CORBA/FloatSeqHolder.html">FloatSeqHolder</A> seq, int offset, int length)</CODE><BR> Reads array of IDL floats from offset for length elements from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_float()">read_float</A></B>()</CODE><BR> Reads an IDL float from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_long_array(org.omg.CORBA.LongSeqHolder, int, int)">read_long_array</A></B>(<A HREF="../../../org/omg/CORBA/LongSeqHolder.html">LongSeqHolder</A> seq, int offset, int length)</CODE><BR> Reads array of IDL longs from offset for length elements from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_long()">read_long</A></B>()</CODE><BR> Reads an IDL long from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_longlong_array(org.omg.CORBA.LongLongSeqHolder, int, int)">read_longlong_array</A></B>(<A HREF="../../../org/omg/CORBA/LongLongSeqHolder.html">LongLongSeqHolder</A> seq, int offset, int length)</CODE><BR> Reads array of IDL long longs from offset for length elements from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_longlong()">read_longlong</A></B>()</CODE><BR> Reads an IDL long long from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/omg/CORBA/Object.html">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_Object()">read_Object</A></B>()</CODE><BR> Reads an IDL CORBA::Object from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_octet_array(org.omg.CORBA.OctetSeqHolder, int, int)">read_octet_array</A></B>(<A HREF="../../../org/omg/CORBA/OctetSeqHolder.html">OctetSeqHolder</A> seq, int offset, int length)</CODE><BR> Reads array of IDL octets from offset for length elements from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> byte</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_octet()">read_octet</A></B>()</CODE><BR> Reads an IDL octet value from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_short_array(org.omg.CORBA.ShortSeqHolder, int, int)">read_short_array</A></B>(<A HREF="../../../org/omg/CORBA/ShortSeqHolder.html">ShortSeqHolder</A> seq, int offset, int length)</CODE><BR> Reads array of IDL shorts from offset for length elements from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> short</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_short()">read_short</A></B>()</CODE><BR> Reads an IDL short from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_string()">read_string</A></B>()</CODE><BR> Reads an IDL string from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../org/omg/CORBA/TypeCode.html">TypeCode</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_TypeCode()">read_TypeCode</A></B>()</CODE><BR> Reads an IDL typecode from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_ulong_array(org.omg.CORBA.ULongSeqHolder, int, int)">read_ulong_array</A></B>(<A HREF="../../../org/omg/CORBA/ULongSeqHolder.html">ULongSeqHolder</A> seq, int offset, int length)</CODE><BR> Reads array of IDL unsigned longs from offset for length elements from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_ulong()">read_ulong</A></B>()</CODE><BR> Reads an IDL unsigned long from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_ulonglong_array(org.omg.CORBA.ULongLongSeqHolder, int, int)">read_ulonglong_array</A></B>(<A HREF="../../../org/omg/CORBA/ULongLongSeqHolder.html">ULongLongSeqHolder</A> seq, int offset, int length)</CODE><BR> Reads array of IDL unsigned long longs from offset for length elements from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/omg/CORBA/DataInputStream.html#read_ulonglong()">read_ulonglong</A></B>()</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -