public class DocumentInfo
extends java.lang.Object
implements java.lang.AutoCloseable, java.io.Serializable
| Constructor and Description |
|---|
DocumentInfo()
Creates a new instance of the DocumentInfo class.
|
DocumentInfo(long handle)
Creates a new instance of the DocumentInfo class.
|
| Modifier and Type | Method and Description |
|---|---|
DocumentInfo |
clone()
Creates a copy of the DocumentInfo object.
|
void |
close()
Releases all resources used by this DocumentInfo.
|
protected void |
finalize()
Finalizer for this class.
|
DocumentCategory |
getCategory()
Gets the the document category.
|
java.lang.String |
getCountry()
Gets the the ISO 3166-1 alpha-3 code identifying the country issuing the document.
|
java.lang.String |
getDate()
Gets the the document's date of first issue, in the form `YYYY-MM-DD`.
|
java.lang.String |
getDescription()
Gets the the document description.
|
DocumentFormat |
getFormat()
Gets the the document format.
|
long |
getHandle()
Gets the native handle.
|
java.lang.String |
getIdentifier()
Gets the the document identifier.
|
MrzType |
getMrzType()
Gets the the type of machine-readable zone (MRZ), if applicable.
|
java.lang.String |
getName()
Gets the the document type name.
|
int |
getPageNumber()
Gets the the page number of the document.
|
public DocumentInfo()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public DocumentInfo(long handle)
throws DocumentException
handle - Handle to the DocumentInfo.DocumentException - An error has occurred during Document Library execution.public void close()
close in interface java.lang.AutoCloseableprotected void finalize()
finalize in class java.lang.Objectpublic long getHandle()
public DocumentInfo clone() throws DocumentException
clone in class java.lang.ObjectDocumentException - An error has occurred during Document Library execution.public DocumentCategory getCategory() throws DocumentException
DocumentException - An error has occurred during Document Library execution.public java.lang.String getCountry()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public java.lang.String getDate()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public java.lang.String getDescription()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public DocumentFormat getFormat() throws DocumentException
DocumentException - An error has occurred during Document Library execution.public java.lang.String getIdentifier()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public MrzType getMrzType() throws DocumentException
DocumentException - An error has occurred during Document Library execution.public java.lang.String getName()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public int getPageNumber()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.document