| Package | Description | 
|---|---|
| java.io | Provides for system input and output through data streams,
serialization and the file system. | 
| java.rmi.server | Provides classes and interfaces for supporting the server
side of RMI. | 
| javax.imageio.stream | A package of the Java Image I/O API dealing with low-level I/O from
files and streams. | 
| Modifier and Type | Interface | Description | 
|---|---|---|
| interface  | ObjectInput ObjectInput extends the DataInput interface to include the reading of
 objects. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | DataInputStream A data input stream lets an application read primitive Java data
 types from an underlying input stream in a machine-independent
 way. | |
| class  | ObjectInputStream An ObjectInputStream deserializes primitive data and objects previously
 written using an ObjectOutputStream. | |
| class  | RandomAccessFile Instances of this class support both reading and writing to a
 random access file. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static String  | DataInputStream. readUTF (DataInput in)Reads from the
 stream  ina representation
 of a Unicode character string encoded in
 modified UTF-8 format;
 this string of characters is then returned as aString. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static UID  | UID. read (DataInput in)Constructs and returns a new  UIDinstance by
 unmarshalling a binary representation from anDataInputinstance. | 
| Modifier and Type | Interface | Description | 
|---|---|---|
| interface  | ImageInputStream A seekable input stream interface for use by
  ImageReaders. | |
| interface  | ImageOutputStream A seekable output stream interface for use by
  ImageWriters. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | FileCacheImageInputStream An implementation of  ImageInputStreamthat gets its
 input from a regularInputStream. | |
| class  | FileCacheImageOutputStream An implementation of  ImageOutputStreamthat writes its
 output to a regularOutputStream. | |
| class  | FileImageInputStream An implementation of  ImageInputStreamthat gets its
 input from aFileorRandomAccessFile. | |
| class  | FileImageOutputStream An implementation of  ImageOutputStreamthat writes its
 output directly to aFileorRandomAccessFile. | |
| class  | ImageInputStreamImpl An abstract class implementing the  ImageInputStreaminterface. | |
| class  | ImageOutputStreamImpl An abstract class implementing the  ImageOutputStreaminterface. | |
| class  | MemoryCacheImageInputStream An implementation of  ImageInputStreamthat gets its
 input from a regularInputStream. | |
| class  | MemoryCacheImageOutputStream An implementation of  ImageOutputStreamthat writes its
 output to a regularOutputStream. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy. 
Scripting on this page tracks web page traffic, but does not change the content in any way.