Home | | Web Programming | The I/O Classes and Interfaces - java.io

Chapter: Java The Complete Reference : The Java Library : Input/Output: Exploring java.io

The I/O Classes and Interfaces - java.io

The I/O classes defined by java.io are listed here:

The I/O Classes and Interfaces

 

The I/O classes defined by java.io are listed here:


BufferedInputStream

 

BufferedOutputStream

BufferedReader

 

BufferedWriter

 

ByteArrayInputStream

 

ByteArrayOutputStream

 

CharArrayReader

 

CharArrayWriter

              

Console 

 

DataInputStream

 

DataOutputStream

              

File        

 

FileDescriptor

 

FileInputStream

 

FileOutputStream

 

FilePermission

 

FileReader

 

FileWriter

 

FilterInputStream

 

FilterOutputStream

 

FilterReader

 

FilterWriter

 

InputStream

 

InputStreamReader

 

LineNumberReader

 

ObjectInputStream

 

ObjectInputStream.GetField

 

ObjectOutputStream

 

ObjectOutputStream.PutField

 

ObjectStreamClass

 

ObjectStreamField

 

OutputStream

 

OutputStreamWriter

 

PipedInputStream

 

PipedOutputStream

 

PipedReader

 

PipedWriter

 

PrintStream

 

PrintWriter

 

PushbackInputStream

 

PushbackReader

 

RandomAccessFile

 

Reader

 

SequenceInputStream

 

SerializablePermission

 

StreamTokenizer

 

StringReader

 

StringWriter

 

Writer

 

The java.io package also contains two deprecated classes that are not shown in the preceding table: LineNumberInputStream and StringBufferInputStream. These classes should not be used for new code.

The following interfaces are defined by java.io:

Closeable

 

DataInput

 

DataOutput

 

Externalizable

 

FileFilter

 

FilenameFilter

 

Flushable

 

ObjectInput

 

ObjectInputValidation

 

ObjectOutput

 

ObjectStreamConstants

 

Serializable

 

As you can see, there are many classes and interfaces in the java.io package. These include byte and character streams, and object serialization (the storage and retrieval of objects). This chapter examines several commonly used I/O components. We begin our discussion with one of the most distinctive I/O classes: File.


Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail
Java The Complete Reference : The Java Library : Input/Output: Exploring java.io : The I/O Classes and Interfaces - java.io |


Privacy Policy, Terms and Conditions, DMCA Policy and Compliant

Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.