| Package | Description |
|---|---|
| java.io |
| Modifier and Type | Class and Description |
|---|---|
class |
ByteArrayOutputStream
This class implements an output stream in which the data is written into a byte array.
|
class |
DataOutputStream
A data output stream lets an application write primitive Java data types to an output stream in a portable way.
|
class |
PrintStream
A PrintStream adds functionality to another output stream, namely the ability to print representations of various data values conveniently.
|
| Modifier and Type | Field and Description |
|---|---|
protected OutputStream |
DataOutputStream.out
The output stream.
|
| Constructor and Description |
|---|
DataOutputStream(OutputStream out)
Creates a new data output stream to write data to the specified underlying output stream.
|
OutputStreamWriter(OutputStream os)
Create an OutputStreamWriter that uses the default character encoding.
|
OutputStreamWriter(OutputStream os,
String enc)
Create an OutputStreamWriter that uses the named character encoding.
|
PrintStream(OutputStream out)
Create a new print stream.
|
Copyright © 2022. All rights reserved.