|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Charset | |
java.io | Provides for system input and output through data streams, serialization and the file system. |
java.nio.charset | Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. |
java.nio.charset.spi | Service-provider classes for the java.nio.charset package. |
Uses of Charset in java.io |
Constructors in java.io with parameters of type Charset | |
InputStreamReader(InputStream in,
Charset cs)
Create an InputStreamReader that uses the given charset. |
|
OutputStreamWriter(OutputStream out,
Charset cs)
Create an OutputStreamWriter that uses the given charset. |
Uses of Charset in java.nio.charset |
Methods in java.nio.charset that return Charset | |
Charset |
CharsetDecoder.charset()
Returns the charset that created this decoder. |
Charset |
CharsetDecoder.detectedCharset()
Retrieves the charset that was detected by this decoder (optional operation). |
Charset |
CharsetEncoder.charset()
Returns the charset that created this encoder. |
static Charset |
Charset.forName(String charsetName)
Returns a charset object for the named charset. |
Methods in java.nio.charset with parameters of type Charset | |
abstract boolean |
Charset.contains(Charset cs)
Tells whether or not this charset contains the given charset. |
Constructors in java.nio.charset with parameters of type Charset | |
CharsetDecoder(Charset cs,
float averageCharsPerByte,
float maxCharsPerByte)
Initializes a new decoder. |
|
CharsetEncoder(Charset cs,
float averageBytesPerChar,
float maxBytesPerChar,
byte[] replacement)
Initializes a new encoder. |
|
CharsetEncoder(Charset cs,
float averageBytesPerChar,
float maxBytesPerChar)
Initializes a new encoder. |
Uses of Charset in java.nio.charset.spi |
Methods in java.nio.charset.spi that return Charset | |
abstract Charset |
CharsetProvider.charsetForName(String charsetName)
Retrieves a charset for the given charset name. |
|
JavaTM 2 Platform Std. Ed. v1.4.2 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.