java.lang
Class StringCoding.CharsetSE

java.lang.Object
  extended byjava.lang.StringCoding.StringEncoder
      extended byjava.lang.StringCoding.CharsetSE
Enclosing class:
StringCoding

private static class StringCoding.CharsetSE
extends StringCoding.StringEncoder


Field Summary
private  CharsetEncoder ce
           
private  Charset cs
           
 
Constructor Summary
private StringCoding.CharsetSE(Charset cs, String rcn)
           
 
Method Summary
(package private)  String charsetName()
           
(package private)  byte[] encode(char[] ca, 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 Charset cs

ce

private CharsetEncoder ce
Constructor Detail

StringCoding.CharsetSE

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

charsetName

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

encode

byte[] encode(char[] ca,
              int off,
              int len)
Specified by:
encode in class StringCoding.StringEncoder

requestedCharsetName

final String requestedCharsetName()