Class DictionaryDatabase
java.lang.Object
org.openscience.cdk.dict.DictionaryDatabase
Database of dictionaries listing entries with compounds, fragments
and entities.
- Author:
- Egon Willighagen
- Keywords:
- dictionary
- Created on:
- 2003-04-06
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDictionary(String dictionaryName) String[]getDictionaryEntries(String dictionaryName) Returns a String[] with the id's of all entries in the specified database.Entry[]getDictionaryEntry(String dictionaryName) String[]Returns a String[] with the names of the known dictionaries.booleanhasDictionary(String name) Returns true if the database contains the dictionary.booleanReturns true if the given dictionary contains the given entry.Returns true if the database contains the dictionary.voidreadDictionary(Reader reader, String name) Reads a custom dictionary into the database.
-
Field Details
-
DICTREFPROPERTYNAME
- See Also:
-
-
Constructor Details
-
DictionaryDatabase
public DictionaryDatabase()
-
-
Method Details
-
readDictionary
-
getDictionaryNames
Returns a String[] with the names of the known dictionaries.- Returns:
- The names of the dictionaries
-
getDictionary
-
getDictionaryEntries
-
getDictionaryEntry
-
hasDictionary
Returns true if the database contains the dictionary. -
listDictionaries
-
hasEntry
-