sun.io
Class ByteToCharUTF16

java.lang.Object
  extended by sun.io.ByteToCharConverter
      extended by sun.io.ByteToCharUnicode
          extended by sun.io.ByteToCharUTF16

public class ByteToCharUTF16
extends ByteToCharUnicode

Convert byte arrays containing Unicode characters into arrays of actual Unicode characters, assuming an initial byte-order mark.


Field Summary
 
Fields inherited from class sun.io.ByteToCharConverter
badInputLength, byteOff, charOff, subChars, subMode
 
Constructor Summary
ByteToCharUTF16()
           
 
Method Summary
 String getCharacterEncoding()
          Returns the character set id for the conversion
 
Methods inherited from class sun.io.ByteToCharUnicode
convert, flush, reset
 
Methods inherited from class sun.io.ByteToCharConverter
convertAll, getBadInputLength, getConverter, getDefault, getMaxCharsPerByte, nextByteIndex, nextCharIndex, setSubstitutionChars, setSubstitutionMode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ByteToCharUTF16

public ByteToCharUTF16()
Method Detail

getCharacterEncoding

public String getCharacterEncoding()
Description copied from class: ByteToCharConverter
Returns the character set id for the conversion

Overrides:
getCharacterEncoding in class ByteToCharUnicode