DocumentMetadata

public class DocumentMetadata

Use this class to pass additional information for a document when uploading it to the Gini API. Besides the predefined metadata fields you may also add custom fields.

Constructors

Link copied to clipboard
public void DocumentMetadata()
Create a new instance.
Link copied to clipboard
public void DocumentMetadata(@Nullable() CharsetEncoder charsetEncoder)

Functions

Link copied to clipboard
public void add(@NonNull() String name, @NonNull() String value)
Add a custom metadata field.
Link copied to clipboard
Link copied to clipboard
public boolean isASCIIEncodable(@NonNull() String string)
Link copied to clipboard
public void setBranchId(@NonNull() String branchId)
Set a branch identifier to associate the document with a particular branch.

Properties

Link copied to clipboard
public final static String BRANCH_ID_HEADER_FIELD_NAME
Link copied to clipboard
public final static String HEADER_FIELD_NAME_PREFIX