java.lang
Class StringCoding.CharsetSD

java.lang.Object
  extended byjava.lang.StringCoding.StringDecoder
      extended byjava.lang.StringCoding.CharsetSD
Enclosing class:
StringCoding

private static class StringCoding.CharsetSD
extends StringCoding.StringDecoder


Field Summary
private  CharsetDecoder cd
           
private  Charset cs
           
 
Constructor Summary
private StringCoding.CharsetSD(Charset cs, String rcn)
           
 
Method Summary
(package private)  String charsetName()
           
(package private)  char[] decode(byte[] ba, int off, int len)
           
(package private)  String requestedCharsetName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cs

private final Charset cs

cd

private final CharsetDecoder cd
Constructor Detail

StringCoding.CharsetSD

private StringCoding.CharsetSD(Charset cs,
                               String rcn)
Method Detail

charsetName

String charsetName()
Specified by:
charsetName in class StringCoding.StringDecoder

decode

char[] decode(byte[] ba,
              int off,
              int len)
Specified by:
decode in class StringCoding.StringDecoder

requestedCharsetName

final String requestedCharsetName()