Liferay 6.1.2-ce-ga3

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

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

public class CharsetDecoderUtil
extends Object


Constructor Summary
CharsetDecoderUtil()
           
 
Method Summary
static CharBuffer decode(String charsetName, byte[] bytes)
           
static CharBuffer decode(String charsetName, byte[] bytes, int offset, int length)
           
static CharBuffer decode(String charsetName, ByteBuffer byteBuffer)
           
static CharsetDecoder getCharsetDecoder(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 CharBuffer decode(String charsetName,
                                byte[] bytes)

decode

public static CharBuffer decode(String charsetName,
                                byte[] bytes,
                                int offset,
                                int length)

decode

public static CharBuffer decode(String charsetName,
                                ByteBuffer byteBuffer)

getCharsetDecoder

public static CharsetDecoder getCharsetDecoder(String charsetName)

Liferay 6.1.2-ce-ga3