| Package | Description |
|---|---|
| java.io | |
| java.lang |
| Modifier and Type | Class and Description |
|---|---|
class |
ByteArrayInputStream
A ByteArrayInputStream contains an internal buffer that contains bytes that may be read from the stream.
|
class |
DataInputStream
A data input stream lets an application read primitive Java data types from an underlying input stream in a machine-independent way.
|
| Modifier and Type | Field and Description |
|---|---|
protected InputStream |
DataInputStream.in
The input stream.
|
| Constructor and Description |
|---|
DataInputStream(InputStream in)
Creates a DataInputStream and saves its argument, the input stream in, for later use.
|
InputStreamReader(InputStream is)
Create an InputStreamReader that uses the default character encoding.
|
InputStreamReader(InputStream is,
String enc)
Create an InputStreamReader that uses the named character encoding.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
ClassLoader.getResourceAsStream(String name) |
InputStream |
Class.getResourceAsStream(String name)
Finds a resource with a given name in the application's JAR file.
|
static InputStream |
ClassLoader.getSystemResourceAsStream(String name) |
Copyright © 2026. All rights reserved.