DocTypeOutput

Inheritance: java.lang.Object

public class DocTypeOutput

Represents the document type detection result for a single input item.

Constructors

ConstructorDescription
DocTypeOutput()

Fields

FieldDescription
confidenceConfidence score in the range from 0.0 to 1.0.
docTypeDetected document category.
pageZero-based page index.
sourceInput source identifier (file path or URL when available).

DocTypeOutput()

public DocTypeOutput()

confidence

public float confidence

Confidence score in the range from 0.0 to 1.0.

docType

public DocType docType

Detected document category.

page

public int page

Zero-based page index.

source

public String source

Input source identifier (file path or URL when available). Empty for in-memory inputs.