Lines Matching refs:converter
36 CharsetEncoder converter = Charset.forName("Cp933").newEncoder();
37 converter = converter.onMalformedInput(CodingErrorAction.REPORT);
38 converter = converter.onUnmappableCharacter(CodingErrorAction.REPORT);
41 ByteBuffer out = converter.encode(in);
49 CharsetEncoder converter = Charset.forName(charset).newEncoder();
50 converter = converter.onMalformedInput(CodingErrorAction.REPORT);
51 converter = converter.onUnmappableCharacter(CodingErrorAction.REPORT);
63 ByteBuffer out = converter.encode(CharBuffer.wrap(in));
79 CharsetEncoder converter = Charset.forName(charset).newEncoder();
80 converter = converter.onMalformedInput(CodingErrorAction.REPORT);
81 converter = converter.onUnmappableCharacter(CodingErrorAction.REPORT);
86 ByteBuffer out = converter.encode(CharBuffer.wrap(in));
99 CharsetDecoder converter = charset.newDecoder();
100 converter = converter.onMalformedInput(CodingErrorAction.REPORT);
101 converter = converter.onUnmappableCharacter(CodingErrorAction.REPORT);
108 CharBuffer out = converter.decode(in);
122 CharsetDecoder converter = charset.newDecoder();
123 converter = converter.onMalformedInput(CodingErrorAction.REPORT);
124 converter = converter.onUnmappableCharacter(CodingErrorAction.REPORT);
129 CharBuffer out = converter.decode(in);