@NotThreadSafe public abstract class AbstractByteArrayCodec extends AbstractByteArrayDecoder implements IByteArrayCodec
IByteArrayCodec| Constructor and Description |
|---|
AbstractByteArrayCodec() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEncoded(String sDecoded,
Charset aCharset)
Encode the passed string.
|
getDecodedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEncodedgetDecoded, getDecoded@Nullable @ReturnsMutableCopy public byte[] getEncoded(@Nullable String sDecoded, @Nonnull Charset aCharset)
IByteArrayEncodergetEncoded in interface IByteArrayEncodersDecoded - The string to be encoded. May be null.aCharset - The charset to be used. May not be null.null if the input string is null.Copyright © 2014–2016 Philip Helger. All rights reserved.