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 |
encode
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encode
protected Charset charset
public IdentityEncoder()
public IdentityEncoder(Charset charset)
public BytesRef encode(char[] buffer, int offset, int length)
PayloadEncoder
BytesRef
encode
in interface PayloadEncoder
BytesRef
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.