public class Manifest
extends java.lang.Object
implements java.lang.AutoCloseable, java.io.Serializable
| Constructor and Description |
|---|
Manifest()
Creates a new instance of the Manifest class.
|
Manifest(long handle)
Creates a new instance of the Manifest class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases all resources used by this Manifest.
|
protected void |
finalize()
Finalizer for this class.
|
java.lang.String |
getDocumentDescription(java.lang.String language)
Gets the description of the document.
|
java.lang.String |
getDocumentName(java.lang.String language)
Gets the name of the document.
|
ExtensionList |
getExtensionList()
Gets the the extension list.
|
long |
getHandle()
Gets the native handle.
|
Log |
getLog()
Gets the the log.
|
int |
getManifestId()
Gets the the manifest ID in ISO 22385 format.
|
int |
getManifestVersion()
Gets the the manifest version.
|
StringArray |
getSupportedLanguages()
Gets the the list of supported languages declared in the manifest.
|
void |
load(byte[] manifestData)
Loads the manifest.
|
void |
loadFromFile(java.lang.String path)
Loads the manifest from file.
|
void |
loadFromString(java.lang.String manifestData)
Loads the manifest.
|
void |
setLog(Log log)
Sets the the log.
|
public Manifest()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public Manifest(long handle)
throws BiosealException
handle - Handle to the Manifest.BiosealException - An error has occurred during Bioseal Library execution.public void close()
close in interface java.lang.AutoCloseableprotected void finalize()
finalize in class java.lang.Objectpublic long getHandle()
public int getManifestId()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public int getManifestVersion()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public StringArray getSupportedLanguages() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public ExtensionList getExtensionList() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public Log getLog() throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public void setLog(Log log) throws BiosealException
log - The log.BiosealException - An error has occurred during Bioseal Library execution.public void load(byte[] manifestData)
throws BiosealException
manifestData - The manifest data.BiosealException - An error has occurred during Bioseal Library execution.public void loadFromString(java.lang.String manifestData)
throws BiosealException
manifestData - The manifest data.BiosealException - An error has occurred during Bioseal Library execution.public void loadFromFile(java.lang.String path)
throws BiosealException
path - The manifest path.BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getDocumentName(java.lang.String language)
throws BiosealException
language - The expected language.BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String getDocumentDescription(java.lang.String language)
throws BiosealException
language - The expected language.BiosealException - An error has occurred during Bioseal Library execution.Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.bioseal