Liferay 7.0-ga1 portal-kernel

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)
           
static CharsetDecoder getCharsetDecoder(String charsetName, CodingErrorAction codingErrorAction)
           
 
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)

getCharsetDecoder

public static CharsetDecoder getCharsetDecoder(String charsetName,
                                               CodingErrorAction codingErrorAction)

Liferay 7.0-ga1 portal-kernel