Java org.apache.commons.codec.binary StringUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.codec.binary StringUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.codec.binary StringUtils.

The text is from its open source code.

Method

byte[]getBytesIso8859_1(final String string)
Encodes the given string into a sequence of bytes using the ISO-8859-1 charset, storing the result into a new byte array.
byte[]getBytesUnchecked(final String string, final String charsetName)
Encodes the given string into a sequence of bytes using the named charset, storing the result into a new byte array.
byte[]getBytesUsAscii(final String string)
Encodes the given string into a sequence of bytes using the US-ASCII charset, storing the result into a new byte array.
byte[]getBytesUtf16(final String string)
Encodes the given string into a sequence of bytes using the UTF-16 charset, storing the result into a new byte array.
byte[]getBytesUtf16Be(final String string)
Encodes the given string into a sequence of bytes using the UTF-16BE charset, storing the result into a new byte array.
byte[]getBytesUtf16Le(final String string)
Encodes the given string into a sequence of bytes using the UTF-16LE charset, storing the result into a new byte array.
byte[]getBytesUtf8(final String string)
Encodes the given string into a sequence of bytes using the UTF-8 charset, storing the result into a new byte array.
StringnewString(final byte[] bytes, final Charset charset)
Constructs a new String by decoding the specified array of bytes using the given charset.
StringnewString(final byte[] bytes, final String charsetName)
Constructs a new String by decoding the specified array of bytes using the given charset.
StringnewStringIso8859_1(final byte[] bytes)
Constructs a new String by decoding the specified array of bytes using the ISO-8859-1 charset.
StringnewStringUsAscii(final byte[] bytes)
Constructs a new String by decoding the specified array of bytes using the US-ASCII charset.
StringnewStringUtf16(final byte[] bytes)
Constructs a new String by decoding the specified array of bytes using the UTF-16 charset.
StringnewStringUtf16Be(final byte[] bytes)
Constructs a new String by decoding the specified array of bytes using the UTF-16BE charset.
StringnewStringUtf16Le(final byte[] bytes)
Constructs a new String by decoding the specified array of bytes using the UTF-16LE charset.
StringnewStringUtf8(final byte[] bytes)
Constructs a new String by decoding the specified array of bytes using the UTF-8 charset.