com.liferay.portal.kernel.nio.charset
Class CharsetDecoderUtil
java.lang.Object
com.liferay.portal.kernel.nio.charset.CharsetDecoderUtil
public class CharsetDecoderUtil
- extends java.lang.Object
View Source
- Author:
- Shuyang Zhou
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 |
CharsetDecoderUtil
public CharsetDecoderUtil()
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)