Searched refs:charset (Results 1 - 25 of 123) sorted by path

12345

/libcore/dalvik/src/main/java/dalvik/system/
H A DBlockGuard.java25 import java.nio.charset.Charsets;
/libcore/luni/src/main/java/java/io/
H A DDataInputStream.java21 import java.nio.charset.ModifiedUtf8;
H A DDataOutputStream.java21 import java.nio.charset.ModifiedUtf8;
H A DHistoricalCharsetNames.java19 import java.nio.charset.Charset;
170 public static String get(Charset charset) { argument
171 String modernName = charset.name();
H A DInputStreamReader.java22 import java.nio.charset.Charset;
23 import java.nio.charset.CharsetDecoder;
24 import java.nio.charset.CoderResult;
25 import java.nio.charset.CodingErrorAction;
26 import java.nio.charset.MalformedInputException;
27 import java.nio.charset.UnmappableCharacterException;
114 * Charset {@code charset}.
118 * @param charset
121 public InputStreamReader(InputStream in, Charset charset) { argument
124 decoder = charset
[all...]
H A DObjectOutputStream.java25 import java.nio.charset.ModifiedUtf8;
H A DOutputStreamWriter.java22 import java.nio.charset.Charset;
23 import java.nio.charset.CharsetEncoder;
24 import java.nio.charset.CoderResult;
25 import java.nio.charset.CodingErrorAction;
119 charsetEncoder.charset();
237 return HistoricalCharsetNames.get(encoder.charset());
H A DPrintStream.java20 import java.nio.charset.Charset;
21 import java.nio.charset.IllegalCharsetNameException;
H A DRandomAccessFile.java24 import java.nio.charset.ModifiedUtf8;
/libcore/luni/src/main/java/java/lang/
H A DString.java24 import java.nio.charset.Charset;
25 import java.nio.charset.Charsets;
137 * {@link java.nio.charset.Charset#defaultCharset default charset}.
163 * {@link java.nio.charset.Charset#defaultCharset default charset}.
200 * Converts the byte array to a string using the named charset.
202 * <p>The behavior when the bytes cannot be decoded by the named charset
203 * is unspecified. Use {@link java.nio.charset.CharsetDecoder} for more control.
210 * if the named charset i
245 String(byte[] data, int offset, int byteCount, Charset charset) argument
392 String(byte[] data, Charset charset) argument
848 getBytes(Charset charset) argument
[all...]
H A DUnsafeByteSequence.java19 import java.nio.charset.Charset;
/libcore/luni/src/main/java/java/net/
H A DSocks4Message.java21 import java.nio.charset.Charsets;
H A DURLClassLoader.java29 import java.nio.charset.Charsets;
H A DURLDecoder.java21 import java.nio.charset.Charset;
H A DURLEncoder.java21 import java.nio.charset.Charset;
22 import java.nio.charset.Charsets;
/libcore/luni/src/main/java/java/nio/channels/
H A DChannels.java29 import java.nio.charset.Charset;
30 import java.nio.charset.CharsetDecoder;
31 import java.nio.charset.CharsetEncoder;
145 * the name of the charset.
147 * @throws java.nio.charset.UnsupportedCharsetException
148 * if the given charset name is not supported.
188 * the name of the charset.
190 * @throws java.nio.charset.UnsupportedCharsetException
191 * if the given charset name is not supported.
/libcore/luni/src/main/java/java/nio/charset/
H A DCharacterCodingException.java18 package java.nio.charset;
H A DCharset.java18 package java.nio.charset;
23 import java.nio.charset.spi.CharsetProvider;
36 * A charset is a named mapping between Unicode characters and byte sequences. Every
39 * Use the method {@link #canEncode} to find out whether a charset supports both.
45 * all characters can necessarily be represented by a given charset. The method {@link #contains}
46 * can be used to determine whether every character representable by one charset can also be
114 * <p>A charset has a canonical name, returned by {@link #name}. Most charsets will
115 * also have one or more aliases, returned by {@link #aliases}. A charset can be looked up
132 * charset is UTF-8. (This is in contrast to some older implementations, where the default charset
357 contains(Charset charset) argument
510 compareTo(Charset charset) argument
[all...]
H A DCharsetDecoder.java17 package java.nio.charset;
25 * A converter that can convert a byte sequence from a charset into a 16-bit
56 * charset, the other is named unmappable character and it is returned when a
72 * decoding process for all charsets. Decoders for a specific charset should
81 * @see java.nio.charset.Charset
82 * @see java.nio.charset.CharsetEncoder
108 * @param charset
120 protected CharsetDecoder(Charset charset, float averageCharsPerByte, float maxCharsPerByte) { argument
129 cs = charset;
147 public final Charset charset() { method in class:CharsetDecoder
[all...]
H A DCharsetDecoderICU.java15 package java.nio.charset;
H A DCharsetEncoder.java17 package java.nio.charset;
53 * signifies that the input is legal but cannot be mapped to a byte sequence (because the charset
63 * <p>The default replacement bytes depend on the charset but can be overridden using the
67 * encoding process for all charsets. Encoders for a specific charset should
75 * @see java.nio.charset.Charset
76 * @see java.nio.charset.CharsetDecoder
99 // decoder instance for this encoder's charset, used for replacement value checking
239 public final Charset charset() { method in class:CharsetEncoder
260 * if an illegal input character sequence for this charset is
265 * charset i
[all...]
H A DCharsetEncoderICU.java15 package java.nio.charset;
H A DCharsetICU.java10 package java.nio.charset;
H A DCharsets.java17 package java.nio.charset;
22 * charset's name.
24 * Also various special-case charset conversions (for performance).
H A DCoderMalfunctionError.java18 package java.nio.charset;

Completed in 127 milliseconds

12345