public class IdentityEncoder extends AbstractEncoder implements PayloadEncoder
| Constructor and Description |
|---|
IdentityEncoder() |
IdentityEncoder(Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
BytesRef |
encode(char[] buffer,
int offset,
int length)
Convert a char array to a
BytesRef |
encodeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitencodepublic IdentityEncoder()
public IdentityEncoder(Charset charset)
public BytesRef encode(char[] buffer, int offset, int length)
PayloadEncoderBytesRefencode in interface PayloadEncoderBytesRefCopyright © 2010 - 2020 Adobe. All Rights Reserved