Package | Description |
---|---|
java.io |
Provides classes for input and output through data streams.
|
javax.microedition.io |
Classes for the Generic Connection framework.
|
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.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
OutputConnection.openOutputStream()
Open and return an output stream for a connection.
|
static OutputStream |
Connector.openOutputStream(String name)
Create and open a connection output stream.
|
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.