com.dalsemi.io
Class ByteToCharUTF8

java.lang.Object
  |
  +--com.dalsemi.io.ByteToCharConverter
        |
        +--com.dalsemi.io.ByteToCharUTF8

public class ByteToCharUTF8
extends ByteToCharConverter


Constructor Summary
ByteToCharUTF8()
           
 
Method Summary
 int convert(byte[] src, int srcStart, int srcEnd, char[] dst, int dstStart, int dstEnd)
          KLA - removed throwing of exception, sun does not throw one.
 int flush(char[] buff, int start, int length)
           
 int getMaxCharCount(byte[] forThis, int start, int end)
           
 java.lang.String getName()
           
 
Methods inherited from class com.dalsemi.io.ByteToCharConverter
getConverter, getDefaultConverter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteToCharUTF8

public ByteToCharUTF8()
Method Detail

getMaxCharCount

public int getMaxCharCount(byte[] forThis,
                           int start,
                           int end)
Overrides:
getMaxCharCount in class ByteToCharConverter

convert

public int convert(byte[] src,
                   int srcStart,
                   int srcEnd,
                   char[] dst,
                   int dstStart,
                   int dstEnd)
KLA - removed throwing of exception, sun does not throw one. also added error detection for multiple reads.
Overrides:
convert in class ByteToCharConverter

flush

public int flush(char[] buff,
                 int start,
                 int length)
          throws java.io.CharConversionException
Overrides:
flush in class ByteToCharConverter

getName

public java.lang.String getName()
Overrides:
getName in class ByteToCharConverter


Используются технологии uCoz