public class Log extends java.lang.Object implements java.lang.AutoCloseable, java.io.Serializable, java.lang.Iterable<LogItem>
| Constructor and Description |
|---|
Log()
Creates a new instance of the Log class.
|
Log(long handle)
Creates a new instance of the Log class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Releases all resources used by this Log.
|
java.lang.String |
exportToHtml(boolean debug)
Exports a representation of the log, in HTML format.
|
java.lang.String |
exportToJson(java.lang.String indentation,
boolean debug)
Exports a representation of the log, in JSON format.
|
protected void |
finalize()
Finalizer for this class.
|
LogItem |
get(int index)
Gets an item of the Log object.
|
int |
getCount()
Gets the number of elements in the Log object.
|
long |
getHandle()
Gets the native handle.
|
java.util.Iterator<LogItem> |
iterator() |
public Log()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public Log(long handle)
throws BiosealException
handle - Handle to the Log.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 LogItem get(int index) throws BiosealException
index - Index of the LogItem item to get.BiosealException - An error has occurred during Bioseal Library execution.public int getCount()
throws BiosealException
BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String exportToJson(java.lang.String indentation,
boolean debug)
throws BiosealException
indentation - The indentation of the json string.debug - Indicates whether debug information is added to the log.BiosealException - An error has occurred during Bioseal Library execution.public java.lang.String exportToHtml(boolean debug)
throws BiosealException
debug - Indicates whether debug information is added to the log.BiosealException - An error has occurred during Bioseal Library execution.Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.bioseal