public class DocumentInfoDictionary extends java.lang.Object implements java.lang.AutoCloseable, java.io.Serializable, java.lang.Iterable<DocumentInfo>
| Constructor and Description |
|---|
DocumentInfoDictionary()
Creates a new instance of the DocumentInfoDictionary class.
|
DocumentInfoDictionary(long handle)
Creates a new instance of the DocumentInfoDictionary class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.String key,
DocumentInfo documentInfoItem)
Adds an item to the DocumentInfoDictionary object.
|
void |
clear()
Clears the DocumentInfoDictionary object.
|
DocumentInfoDictionary |
clone()
Creates a copy of the DocumentInfoDictionary object.
|
void |
close()
Releases all resources used by this DocumentInfoDictionary.
|
boolean |
containsKey(java.lang.String key)
Determines whether the DocumentInfoDictionaryobject contains the specified key.
|
protected void |
finalize()
Finalizer for this class.
|
DocumentInfo |
get(java.lang.String key)
Gets an item of the DocumentInfoDictionary object.
|
int |
getCount()
Gets the number of elements in the DocumentInfoDictionary object.
|
long |
getHandle()
Gets the native handle.
|
StringList |
getKeys()
Gets the gets a string list containing the keys in the dict.
|
java.util.Iterator<DocumentInfo> |
iterator() |
void |
remove(java.lang.String key)
Removes an element of the DocumentInfoDictionary object.
|
void |
set(java.lang.String key,
DocumentInfo documentInfoItem)
Sets an item of the DocumentInfoDictionary object.
|
public DocumentInfoDictionary()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public DocumentInfoDictionary(long handle)
throws DocumentException
handle - Handle to the DocumentInfoDictionary.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 DocumentInfoDictionary clone() throws DocumentException
clone in class java.lang.ObjectDocumentException - An error has occurred during Document Library execution.public StringList getKeys() throws DocumentException
DocumentException - An error has occurred during Document Library execution.public void clear()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public void add(java.lang.String key,
DocumentInfo documentInfoItem)
throws DocumentException
key - Unique key of the DocumentInfo item to add.documentInfoItem - DocumentInfo item to add.DocumentException - An error has occurred during Document Library execution.public DocumentInfo get(java.lang.String key) throws DocumentException
key - Unique key of the DocumentInfo item to get.DocumentException - An error has occurred during Document Library execution.public void set(java.lang.String key,
DocumentInfo documentInfoItem)
throws DocumentException
key - Unique key of the DocumentInfo item to set.documentInfoItem - DocumentInfo item to set.DocumentException - An error has occurred during Document Library execution.public int getCount()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public boolean containsKey(java.lang.String key)
throws DocumentException
key - The key to locate in the DocumentInfo object.DocumentException - An error has occurred during Document Library execution.public void remove(java.lang.String key)
throws DocumentException
key - Unique key of the DocumentInfo item to remove.DocumentException - An error has occurred during Document Library execution.public java.util.Iterator<DocumentInfo> iterator()
iterator in interface java.lang.Iterable<DocumentInfo>Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.document