PayloadEncoderpublic class IdentityEncoder extends AbstractEncoder implements PayloadEncoder
| Modifier and Type | Field | Description |
|---|---|---|
protected Charset |
charset |
|
protected String |
charsetName |
Deprecated.
This field is no longer used.
|
| Constructor | Description |
|---|---|
IdentityEncoder() |
|
IdentityEncoder(Charset charset) |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.lucene.index.Payload |
encode(char[] buffer,
int offset,
int length) |
Convert a char array to a
Payload |
encodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitencodeprotected Charset charset
@Deprecated protected String charsetName
charset instead.public IdentityEncoder()
public IdentityEncoder(Charset charset)
public org.apache.lucene.index.Payload encode(char[] buffer,
int offset,
int length)
PayloadEncoderPayloadencode in interface PayloadEncoderPayloadCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.