📄 package-summary.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:31:41 PDT 2000 --><TITLE>Java 2 Platform SE v1.3: Package java.io</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="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.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="../../java/beans/beancontext/package-summary.html"><B>PREV PACKAGE</B></A> <A HREF="../../java/lang/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="package-summary.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><H2>Package java.io</H2>Provides for system input and output through data streams,serialization and the file system.<P><B>See: </B><BR> <A HREF="#package_description"><B>Description</B></A><P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Interface Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DataInput.html"><I>DataInput</I></A></B></TD><TD>The <code>DataInput</code> interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DataOutput.html"><I>DataOutput</I></A></B></TD><TD>The <code>DataOutput</code> interface provides for converting data from any of the Java primitive types to a series of bytes and writing these bytes to a binary stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="Externalizable.html"><I>Externalizable</I></A></B></TD><TD>Only the identity of the class of an Externalizable instance is written in the serialization stream and it is the responsibility of the class to save and restore the contents of its instances.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="FileFilter.html"><I>FileFilter</I></A></B></TD><TD>A filter for abstract pathnames.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="FilenameFilter.html"><I>FilenameFilter</I></A></B></TD><TD>Instances of classes that implement this interface are used to filter filenames.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ObjectInput.html"><I>ObjectInput</I></A></B></TD><TD>ObjectInput extends the DataInput interface to include the reading of objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ObjectInputValidation.html"><I>ObjectInputValidation</I></A></B></TD><TD>Callback interface to allow validation of objects within a graph.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ObjectOutput.html"><I>ObjectOutput</I></A></B></TD><TD>ObjectOutput extends the DataOutput interface to include writing of objects.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ObjectStreamConstants.html"><I>ObjectStreamConstants</I></A></B></TD><TD>Constants written into the Object Serialization Stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="Serializable.html"><I>Serializable</I></A></B></TD><TD>Serializability of a class is enabled by the class implementing the java.io.Serializable interface.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Class Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="BufferedInputStream.html">BufferedInputStream</A></B></TD><TD>A <code>BufferedInputStream</code> adds functionality to another input stream-namely, the ability to buffer the input and to support the <code>mark</code> and <code>reset</code> methods.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="BufferedOutputStream.html">BufferedOutputStream</A></B></TD><TD>The class implements a buffered output stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="BufferedReader.html">BufferedReader</A></B></TD><TD>Read text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="BufferedWriter.html">BufferedWriter</A></B></TD><TD>Write text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ByteArrayInputStream.html">ByteArrayInputStream</A></B></TD><TD>A <code>ByteArrayInputStream</code> contains an internal buffer that contains bytes that may be read from the stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ByteArrayOutputStream.html">ByteArrayOutputStream</A></B></TD><TD>This class implements an output stream in which the data is written into a byte array.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="CharArrayReader.html">CharArrayReader</A></B></TD><TD>This class implements a character buffer that can be used as a character-input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="CharArrayWriter.html">CharArrayWriter</A></B></TD><TD>This class implements a character buffer that can be used as an Writer.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DataInputStream.html">DataInputStream</A></B></TD><TD>A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="DataOutputStream.html">DataOutputStream</A></B></TD><TD>A data input stream lets an application write primitive Java data types to an output stream in a portable way.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="File.html">File</A></B></TD><TD>An abstract representation of file and directory pathnames.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="FileDescriptor.html">FileDescriptor</A></B></TD><TD>Instances of the file descriptor class serve as an opaque handle to the underlying machine-specific structure representing an open file, an open socket, or another source or sink of bytes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="FileInputStream.html">FileInputStream</A></B></TD><TD>A <code>FileInputStream</code> obtains input bytes from a file in a file system.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="FileOutputStream.html">FileOutputStream</A></B></TD><TD>A file output stream is an output stream for writing data to a <code>File</code> or to a <code>FileDescriptor</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="FilePermission.html">FilePermission</A></B></TD><TD>This class represents access to a file or directory.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="FileReader.html">FileReader</A></B></TD><TD>Convenience class for reading character files.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="FileWriter.html">FileWriter</A></B></TD><TD>Convenience class for writing character files.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="FilterInputStream.html">FilterInputStream</A></B></TD><TD>A <code>FilterInputStream</code> contains some other input stream, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="FilterOutputStream.html">FilterOutputStream</A></B></TD><TD>This class is the superclass of all classes that filter output streams.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="FilterReader.html">FilterReader</A></B></TD><TD>Abstract class for reading filtered character streams.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="FilterWriter.html">FilterWriter</A></B></TD><TD>Abstract class for writing filtered character streams.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="InputStream.html">InputStream</A></B></TD><TD>This abstract class is the superclass of all classes representing an input stream of bytes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="InputStreamReader.html">InputStreamReader</A></B></TD><TD>An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters according to a specified <a href="../lang/package-summary.html#charenc">character encoding</a>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="LineNumberInputStream.html">LineNumberInputStream</A></B></TD><TD><B>Deprecated.</B> <I>This class incorrectly assumes that bytes adequately represent characters.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="LineNumberReader.html">LineNumberReader</A></B></TD><TD>A buffered character-input stream that keeps track of line numbers.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ObjectInputStream.html">ObjectInputStream</A></B></TD><TD>An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ObjectInputStream.GetField.html">ObjectInputStream.GetField</A></B></TD><TD>Provide access to the persistent fields read from the input stream.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD WIDTH="15%"><B><A HREF="ObjectOutputStream.html">ObjectOutputStream</A></B></TD><TD>An ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream.</TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -