Package com.liferay.petra.nio
Class CharsetDecoderUtil
java.lang.Object
com.liferay.petra.nio.CharsetDecoderUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CharBufferdecode(String charsetName, ByteBuffer byteBuffer) static CharBufferdecode(String charsetName, CodingErrorAction codingErrorAction, ByteBuffer byteBuffer) static CharsetDecodergetCharsetDecoder(String charsetName) static CharsetDecodergetCharsetDecoder(String charsetName, CodingErrorAction codingErrorAction)
-
Constructor Details
-
CharsetDecoderUtil
public CharsetDecoderUtil()
-
-
Method Details
-
decode
-
decode
public static CharBuffer decode(String charsetName, CodingErrorAction codingErrorAction, ByteBuffer byteBuffer) throws CharacterCodingException - Throws:
CharacterCodingException
-
getCharsetDecoder
-
getCharsetDecoder
public static CharsetDecoder getCharsetDecoder(String charsetName, CodingErrorAction codingErrorAction)
-