ExtractedData

Inheritance: java.lang.Object

public class ExtractedData

Represents data retrieved from a document and prepared for indexing.

Methods

Method Description
serialize() Serializes the current instance to a byte array.
deserialize(byte[] array) Deserializes an instance from a byte array.

serialize()

public final byte[] serialize()

Serializes the current instance to a byte array.

Returns: byte[] - A byte array representing the current instance.

deserialize(byte[] array)

public static ExtractedData deserialize(byte[] array)

Deserializes an instance from a byte array.

Parameters:

Parameter Type Description
array byte[] A byte array to deserialize from.

Returns: ExtractedData - An instance deserialized from a byte array.