<html> <head> <title>Module io</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimainself">Module</td> <td class="navimainnone">Use</td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub">Nested Modules</td> <td class="navisub"><a href="#Services" class="navisub">Services</a></td> <td class="navisub">Singletons</td> <td class="navisub"><a href="#Interfaces" class="navisub">Interfaces</a></td> <td class="navisub"><a href="#Structs" class="navisub">Structs</a></td> <td class="navisub"><a href="#Exceptions" class="navisub">Exceptions</a></td> <td class="navisub">Enums</td> <td class="navisub">Typedefs</td> <td class="navisub">Constant Groups</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: </p> </td> </tr> <tr> <td class="title">module io</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>General input/output interfaces.</dd> </dl> </td> </tr> </table> <hr> <a name="Services"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Services</td> </tr> <tr> <td class="imsum_left"><a href="DataInputStream.html">DataInputStream</a></td> <td class="imsum_right">reads structured data from a chained <a href="XInputStream.html">XInputStream</a>. </td> </tr> <tr> <td class="imsum_left"><a href="DataOutputStream.html">DataOutputStream</a></td> <td class="imsum_right">writes structured data to a chained <a href="XOutputStream.html">XOutputStream</a>. </td> </tr> <tr> <td class="imsum_left"><a href="MarkableInputStream.html">MarkableInputStream</a></td> <td class="imsum_right">allows to set marks in an inputstream and to later jump back to these marks. </td> </tr> <tr> <td class="imsum_left"><a href="MarkableOutputStream.html">MarkableOutputStream</a></td> <td class="imsum_right">allows to set marks in an outputstream and to later jump back to these marks. </td> </tr> <tr> <td class="imsum_left"><a href="ObjectInputStream.html">ObjectInputStream</a></td> <td class="imsum_right">is a stream which allows reading the data of persistent objects. </td> </tr> <tr> <td class="imsum_left"><a href="ObjectOutputStream.html">ObjectOutputStream</a></td> <td class="imsum_right">is a stream which allows writing the data of persistent objects. </td> </tr> <tr> <td class="imsum_left"><a href="Pipe.html">Pipe</a></td> <td class="imsum_right">the implementation of an output stream and an input stream. </td> </tr> <tr> <td class="imsum_left"><a href="Pump.html">Pump</a></td> <td class="imsum_right">the implementation of a data source and a data sink. </td> </tr> <tr> <td class="imsum_left"><a href="SequenceInputStream.html">SequenceInputStream</a></td> <td class="imsum_right">This service allows to wrap a sequence of bytes with a stream object. </td> </tr> <tr> <td class="imsum_left"><a href="SequenceOutputStream.html">SequenceOutputStream</a></td> <td class="imsum_right">This service allows to wrap a sequence of bytes with a output stream object. </td> </tr> <tr> <td class="imsum_left"><a href="TempFile.html">TempFile</a></td> <td class="imsum_right">This service allows to get access to temp files. </td> </tr> <tr> <td class="imsum_left"><a href="TextInputStream.html">TextInputStream</a></td> <td class="imsum_right">provides functionality to read text data from a <a href="XInputStream.html">XInputStream</a> that initially has to be passed to the method <a href="XActiveDataSink.html">XActiveDataSink</a>::<a href="XActiveDataSink.html#setInputStream">setInputStream()</a>. </td> </tr> <tr> <td class="imsum_left"><a href="TextOutputStream.html">TextOutputStream</a></td> <td class="imsum_right">provides functionality to write text data to a <a href="XOutputStream.html">XOutputStream</a> that initially has to be passed to the method <a href="XActiveDataSource.html">XActiveDataSource</a>::<a href="XActiveDataSource.html#setOutputStream">setOutputStream()</a>. </td> </tr> </table> <a name="Interfaces"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Interfaces</td> </tr> <tr> <td class="imsum_left"><a href="XActiveDataControl.html">XActiveDataControl</a></td> <td class="imsum_right">makes it possible to control an active data source. </td> </tr> <tr> <td class="imsum_left"><a href="XActiveDataSink.html">XActiveDataSink</a></td> <td class="imsum_right">makes it possible to read the corresponding object from an input stream. </td> </tr> <tr> <td class="imsum_left"><a href="XActiveDataSource.html">XActiveDataSource</a></td> <td class="imsum_right">has to be implemented if the class should be able to write into an output stream. </td> </tr> <tr> <td class="imsum_left"><a href="XActiveDataStreamer.html">XActiveDataStreamer</a></td> <td class="imsum_right">makes it possible to read and write the corresponding stream. </td> </tr> <tr> <td class="imsum_left"><a href="XAsyncOutputMonitor.html">XAsyncOutputMonitor</a></td> <td class="imsum_right">An optional companion interface to <a href="XOutputStream.html">XOutputStream</a> that supports scenarios where <a href="XOutputStream.html">XOutputStream</a>::<a href="XOutputStream.html#writeBytes">writeBytes</a> operates asynchronously and does not necessarily report any errors. </td> </tr> <tr> <td class="imsum_left"><a href="XConnectable.html">XConnectable</a></td> <td class="imsum_right">makes it possible to connect data sinks and sources. </td> </tr> <tr> <td class="imsum_left"><a href="XDataExporter.html">XDataExporter</a></td> <td class="imsum_right">makes it possible to export data from a component into a data sink. </td> </tr> <tr> <td class="imsum_left"><a href="XDataImporter.html">XDataImporter</a></td> <td class="imsum_right">makes it possible to import data from a data source into a component. </td> </tr> <tr> <td class="imsum_left"><a href="XDataInputStream.html">XDataInputStream</a></td> <td class="imsum_right">makes it possible to read machine-independent simple data types from a stream. </td> </tr> <tr> <td class="imsum_left"><a href="XDataOutputStream.html">XDataOutputStream</a></td> <td class="imsum_right">makes it possible to write machine-independent simple data types to a stream. </td> </tr> <tr> <td class="imsum_left"><a href="XDataTransferEventListener.html">XDataTransferEventListener</a></td> <td class="imsum_right">is used to receive callbacks from an importer or exporter. </td> </tr> <tr> <td class="imsum_left"><a href="XInputStream.html">XInputStream</a></td> <td class="imsum_right">This is the basic interface to read data from a stream. </td> </tr> <tr> <td class="imsum_left"><a href="XInputStreamProvider.html">XInputStreamProvider</a></td> <td class="imsum_right">Interface for providing an input stream. </td> </tr> <tr> <td class="imsum_left"><a href="XMarkableStream.html">XMarkableStream</a></td> <td class="imsum_right">makes it possible to set and remove seekable marks to a stream. </td> </tr> <tr> <td class="imsum_left"><a href="XObjectInputStream.html">XObjectInputStream</a></td> <td class="imsum_right">reads XPersistObject implementations from a stream </td> </tr> <tr> <td class="imsum_left"><a href="XObjectOutputStream.html">XObjectOutputStream</a></td> <td class="imsum_right">stores XPersistObject implementations into the stream </td> </tr> <tr> <td class="imsum_left"><a href="XOutputStream.html">XOutputStream</a></td> <td class="imsum_right">This is the basic interface to write data to a stream. </td> </tr> <tr> <td class="imsum_left"><a href="XPersist.html">XPersist</a></td> <td class="imsum_right">makes it possible to write this object to an URL or read it from an URL. </td> </tr> <tr> <td class="imsum_left"><a href="XPersistObject.html">XPersistObject</a></td> <td class="imsum_right">allows to make UNO objects persistent </td> </tr> <tr> <td class="imsum_left"><a href="XSeekable.html">XSeekable</a></td> <td class="imsum_right">makes it possible to seek to a certain position within a stream. </td> </tr> <tr> <td class="imsum_left"><a href="XSeekableInputStream.html">XSeekableInputStream</a></td> <td class="imsum_right">This interface can be used to represent a seekable input stream. </td> </tr> <tr> <td class="imsum_left"><a href="XSequenceOutputStream.html">XSequenceOutputStream</a></td> <td class="imsum_right">This interface offers access to the written bytes </td> </tr> <tr> <td class="imsum_left"><a href="XStream.html">XStream</a></td> <td class="imsum_right">offers read and write access to the same stream. </td> </tr> <tr> <td class="imsum_left"><a href="XStreamListener.html">XStreamListener</a></td> <td class="imsum_right">makes it possible to receive events from an active data control. </td> </tr> <tr> <td class="imsum_left"><a href="XTempFile.html">XTempFile</a></td> <td class="imsum_right">This interface offers access to temp files. </td> </tr> <tr> <td class="imsum_left"><a href="XTextInputStream.html">XTextInputStream</a></td> <td class="imsum_right">Interface to read strings from a stream. </td> </tr> <tr> <td class="imsum_left"><a href="XTextOutputStream.html">XTextOutputStream</a></td> <td class="imsum_right">Interface to write strings to a stream using a special character encoding. </td> </tr> <tr> <td class="imsum_left"><a href="XTruncate.html">XTruncate</a></td> <td class="imsum_right">makes it possible to set the size of the underlying data of a stream to zero. </td> </tr> <tr> <td class="imsum_left"><a href="XXMLExtractor.html">XXMLExtractor</a></td> <td class="imsum_right">offers the capability to extract the XML document stream from a document storage. </td> </tr> </table> <a name="Structs"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Structs</td> </tr> <tr> <td class="imsum_left"><a href="DataTransferEvent.html">DataTransferEvent</a></td> <td class="imsum_right">is broadcast by a filter. </td> </tr> <tr> <td class="imsum_left"><a href="FilePermission.html">FilePermission</a></td> <td class="imsum_right">This permission represents access to a file or directory. A FilePermission consists of a file url and a set of actions valid for that url. </td> </tr> </table> <a name="Exceptions"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exceptions</td> </tr> <tr> <td class="imsum_left"><a href="AlreadyConnectedException.html">AlreadyConnectedException</a></td> <td class="imsum_right">is thrown when a client tries to connect to a resource to which he is already connected. </td> </tr> <tr> <td class="imsum_left"><a href="BufferSizeExceededException.html">BufferSizeExceededException</a></td> <td class="imsum_right">is thrown by instances which need to buffer data. </td> </tr> <tr> <td class="imsum_left"><a href="ConnectException.html">ConnectException</a></td> <td class="imsum_right">Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the connection was refused remotely (e.g., no process is listening on the remote address/port). </td> </tr> <tr> <td class="imsum_left"><a href="IOException.html">IOException</a></td> <td class="imsum_right">is thrown when an input or output error has occurred. </td> </tr> <tr> <td class="imsum_left"><a href="NoRouteToHostException.html">NoRouteToHostException</a></td> <td class="imsum_right">Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the remote host cannot be reached because of an intervening firewall, or if an intermediate router is down. </td> </tr> <tr> <td class="imsum_left"><a href="NotConnectedException.html">NotConnectedException</a></td> <td class="imsum_right">is thrown when a read/write operation is tried on an instance that has not been chained properly. </td> </tr> <tr> <td class="imsum_left"><a href="SocketException.html">SocketException</a></td> <td class="imsum_right">Thrown to indicate that there is an error in the underlying protocol, such as a TCP error. </td> </tr> <tr> <td class="imsum_left"><a href="UnexpectedEOFException.html">UnexpectedEOFException</a></td> <td class="imsum_right">is thrown when the <code>EOF/code> is reached during reading a datatype (<code>long</code>, <code>string</code>, etc.). </td> </tr> <tr> <td class="imsum_left"><a href="UnknownHostException.html">UnknownHostException</a></td> <td class="imsum_right">is thrown when the IP address of a host could not be determined. </td> </tr> <tr> <td class="imsum_left"><a href="WrongFormatException.html">WrongFormatException</a></td> <td class="imsum_right">is thrown when inconsistent data comes up while reading a complex data type (<code>string</code> or object). </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>