java.io

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » java.io 
java.io
Provides classes for input and output through data streams. @since CLDC 1.0
Java Source File NameTypeComment
Bits.javaClass Utility methods for packing/unpacking primitive values in/out of byte arrays using big-endian byte ordering.
BufferedInputStream.javaClass A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the input and to support the mark and reset methods.
BufferedOutputStream.javaClass The class implements a buffered output stream.
BufferedReader.javaClass Read text from a character-input stream, buffering characters so as to provide for the efficient reading of characters, arrays, and lines.

The buffer size may be specified, or the default size may be used.

BufferedWriter.javaClass Write text to a character-output stream, buffering characters so as to provide for the efficient writing of single characters, arrays, and strings.

The buffer size may be specified, or the default size may be accepted. The default is large enough for most purposes.

A newLine() method is provided, which uses the platform's own notion of line separator as defined by the system property line.separator. Not all platforms use the newline character ('\n') to terminate lines. Calling this method to terminate each output line is therefore preferred to writing a newline character directly.

In general, a Writer sends its output immediately to the underlying character or byte stream.

ByteArrayInputStream.javaClass A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
ByteArrayOutputStream.javaClass This class implements an output stream in which the data is written into a byte array.
CharArrayReader.javaClass This class implements a character buffer that can be used as a character-input stream.
CharArrayWriter.javaClass This class implements a character buffer that can be used as an Writer. The buffer automatically grows when data is written to the stream.
CharConversionException.javaClass Base class for character conversion exceptions.
DataInput.javaInterface The DataInput interface provides for reading bytes from a binary stream and reconstructing from them data in any of the Java primitive types.
DataInputStream.javaClass A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
DataOutput.javaInterface The DataOutput 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.
DataOutputStream.javaClass A data output stream lets an application write primitive Java data types to an output stream in a portable way.
EOFException.javaClass Signals that an end of file or end of stream has been reached unexpectedly during input.

This exception is mainly used by data input streams, which generally expect a binary file in a specific format, and for which an end of stream is an unusual condition.

ExpiringCache.javaClass
Externalizable.javaInterface 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. The writeExternal and readExternal methods of the Externalizable interface are implemented by a class to give the class complete control over the format and contents of the stream for an object and its supertypes.
File.javaClass An abstract representation of file and directory pathnames.

User interfaces and operating systems use system-dependent pathname strings to name files and directories.

FileDescriptor.javaClass 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.
FileFilter.javaInterface A filter for abstract pathnames.
FileInputStream.javaClass A FileInputStream obtains input bytes from a file in a file system.
FilenameFilter.javaInterface Instances of classes that implement this interface are used to filter filenames.
FileNotFoundException.javaClass Signals that an attempt to open the file denoted by a specified pathname has failed.

This exception will be thrown by the FileInputStream , FileOutputStream , and RandomAccessFile (NOTE: RandomAccessFile is found in J2ME CDC profiles such as J2ME Foundation Profile) constructors when a file with the specified pathname does not exist.

FileOutputStream.javaClass A file output stream is an output stream for writing data to a File or to a FileDescriptor.
FilePermission.javaClass This class represents access to a file or directory.
FileReader.javaClass Convenience class for reading character files.
FileSystem.javaClass Package-private abstract class for the local filesystem abstraction.
FileWriter.javaClass Convenience class for writing character files.
FilterInputStream.javaClass A FilterInputStream 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.
FilterOutputStream.javaClass This class is the superclass of all classes that filter output streams.
FilterReader.javaClass Abstract class for reading filtered character streams. The abstract class FilterReader itself provides default methods that pass all requests to the contained stream.
FilterWriter.javaClass Abstract class for writing filtered character streams. The abstract class FilterWriter itself provides default methods that pass all requests to the contained stream.
InputStream.javaClass This abstract class is the superclass of all classes representing an input stream of bytes.
InputStreamReader.javaClass An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and translates them into characters.
InterruptedIOException.javaClass Signals that an I/O operation has been interrupted.
InvalidClassException.javaClass Thrown when the Serialization runtime detects one of the following problems with a Class.
InvalidObjectException.javaClass Indicates that one or more deserialized objects failed validation tests.
IOException.javaClass Signals that an I/O exception of some sort has occurred.
LineNumberReader.javaClass A buffered character-input stream that keeps track of line numbers.
NotActiveException.javaClass Thrown when serialization or deserialization is not active.
NotSerializableException.javaClass Thrown when an instance is required to have a Serializable interface. The serialization runtime or the class of the instance can throw this exception.
ObjectInput.javaInterface ObjectInput extends the DataInput interface to include the reading of objects.
ObjectInputStream.javaClass An ObjectInputStream deserializes primitive data and objects previously written using an ObjectOutputStream.

ObjectOutputStream and ObjectInputStream can provide an application with persistent storage for graphs of objects when used with a FileOutputStream and FileInputStream respectively. ObjectInputStream is used to recover those objects previously serialized.

ObjectInputValidation.javaInterface Callback interface to allow validation of objects within a graph.
ObjectOutput.javaInterface ObjectOutput extends the DataOutput interface to include writing of objects.
ObjectOutputStream.javaClass An ObjectOutputStream writes primitive data types and graphs of Java objects to an OutputStream.
ObjectStreamClass.javaClass Serialization's descriptor for classes.
ObjectStreamConstants.javaInterface Constants written into the Object Serialization Stream.
ObjectStreamException.javaClass Superclass of all exceptions specific to Object Stream classes.
ObjectStreamField.javaClass A description of a Serializable field from a Serializable class.
OptionalDataException.javaClass Exception indicating the failure of an object read operation due to unread primitive data, or the end of data belonging to a serialized object in the stream.
OutputStream.javaClass This abstract class is the superclass of all classes representing an output stream of bytes.
OutputStreamWriter.javaClass An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are translated into bytes. The encoding that it uses may be specified by name, or the platform's default encoding may be accepted.

Each invocation of a write() method causes the encoding converter to be invoked on the given character(s).

PipedInputStream.javaClass A piped input stream should be connected to a piped output stream; the piped input stream then provides whatever data bytes are written to the piped output stream. Typically, data is read from a PipedInputStream object by one thread and data is written to the corresponding PipedOutputStream by some other thread.
PipedOutputStream.javaClass A piped output stream can be connected to a piped input stream to create a communications pipe.
PipedReader.javaClass Piped character-input streams.
PipedWriter.javaClass Piped character-output streams.
PrintStream.javaClass A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
PrintWriter.javaClass Print formatted representations of objects to a text-output stream.
PushbackInputStream.javaClass A PushbackInputStream adds functionality to another input stream, namely the ability to "push back" or "unread" one byte.
PushbackReader.javaClass A character-stream reader that allows characters to be pushed back into the stream.
RandomAccessFile.javaClass Instances of this class support both reading and writing to a random access file.
Reader.javaClass Abstract class for reading character streams.
SequenceInputStream.javaClass A SequenceInputStream represents the logical concatenation of other input streams.
Serializable.javaInterface Serializability of a class is enabled by the class implementing the java.io.Serializable interface.
SerializablePermission.javaClass This class is for Serializable permissions.
StreamCorruptedException.javaClass Thrown when control information that was read from an object stream violates internal consistency checks.
StreamTokenizer.javaClass The StreamTokenizer class takes an input stream and parses it into "tokens", allowing the tokens to be read one at a time.
StringReader.javaClass A character stream whose source is a string.
StringWriter.javaClass A character stream that collects its output in a string buffer, which can then be used to construct a string.

Closing a StringWriter has no effect.

SymbianFileSystem.javaClass
SyncFailedException.javaClass Signals that a sync operation has failed.
UnixFileSystem.javaClass
UnsupportedEncodingException.javaClass The Character Encoding is not supported.
UTFDataFormatException.javaClass Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface.
VxWorksFileSystem.javaClass
Win32FileSystem.javaClass
WinCEFileSystem.javaClass Unicode-aware FileSystem for Windows WinCE.
WinNTFileSystem.javaClass Unicode-aware FileSystem for Windows NT/2000.
WriteAbortedException.javaClass Signals that one of the ObjectStreamExceptions was thrown during a write operation.
Writer.javaClass Abstract class for writing to character streams.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.