com.liferay.portal.kernel.nio.charset
Class CharsetDecoderUtil

java.lang.Object
  extended by com.liferay.portal.kernel.nio.charset.CharsetDecoderUtil

public class CharsetDecoderUtil
extends java.lang.Object

View Source

Author:
Shuyang Zhou

Constructor Summary
CharsetDecoderUtil()
           
 
Method Summary
static java.nio.CharBuffer decode(java.lang.String charsetName, byte[] byteArray)
           
static java.nio.CharBuffer decode(java.lang.String charsetName, byte[] byteArray, int offset, int length)
           
static java.nio.CharBuffer decode(java.lang.String charsetName, java.nio.ByteBuffer byteBuffer)
           
static java.nio.charset.CharsetDecoder getCharsetDecoder(java.lang.String charsetName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharsetDecoderUtil

public CharsetDecoderUtil()
Method Detail

decode

public static java.nio.CharBuffer decode(java.lang.String charsetName,
                                         byte[] byteArray)

decode

public static java.nio.CharBuffer decode(java.lang.String charsetName,
                                         byte[] byteArray,
                                         int offset,
                                         int length)

decode

public static java.nio.CharBuffer decode(java.lang.String charsetName,
                                         java.nio.ByteBuffer byteBuffer)

getCharsetDecoder

public static java.nio.charset.CharsetDecoder getCharsetDecoder(java.lang.String charsetName)