|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--ar.com.ktulu.dict.Database
|
+--ar.com.ktulu.dict.VirtualDatabase
Container for grouping several databases into a virtual one. The names * and ! are special cases, so you must not create an instance using any of those names.
| Constructor Summary | |
VirtualDatabase(java.lang.String name,
java.util.Collection databases)
|
|
| Method Summary | |
Matches |
define(java.lang.String word)
Used by the server to process a "DEFINE" command. |
Definition |
getWordDefinition(Key k)
Returns the definition of the word stored in k. |
int |
keySize()
Returns the number of headwords in the database. |
Matches |
match(java.lang.String word,
Strategy strat)
Used by the server to process a "MATCH" command. |
| Methods inherited from class ar.com.ktulu.dict.Database |
getInfo, getName, getProperty, getProperty, getShortInfo, setInfo, setName, setShortInfo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VirtualDatabase(java.lang.String name,
java.util.Collection databases)
| Method Detail |
public int keySize()
throws DatabaseException
Database
keySize in class DatabaseDatabaseException
public Matches define(java.lang.String word)
throws DatabaseException
Database
define in class DatabaseDatabaseException
public Definition getWordDefinition(Key k)
throws DatabaseException
Databasek.
getWordDefinition in class DatabaseDatabaseException
public Matches match(java.lang.String word,
Strategy strat)
throws DatabaseException
Database
match in class DatabaseDatabaseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||