Package | Description |
---|---|
java.io |
Provides classes for input and output through data streams.
|
java.lang |
Provides classes that are fundamental to the Java programming
language.
|
Constructor and Description |
---|
InputStreamReader(InputStream is,
String enc)
Create an InputStreamReader that uses the named character encoding.
|
OutputStreamWriter(OutputStream os,
String enc)
Create an OutputStreamWriter that uses the named character encoding.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
String.getBytes(String enc)
Convert this
String into bytes according to the specified
character encoding, storing the result into a new byte array. |
Constructor and Description |
---|
String(byte[] bytes,
int off,
int len,
String enc)
Construct a new
String by converting the specified
subarray of bytes using the specified character encoding. |
String(byte[] bytes,
String enc)
Construct a new
String by converting the specified array
of bytes using the specified character encoding. |
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.