org.jscience.linguistics.dict
Class DictServerInfo

java.lang.Object
  extended by org.jscience.linguistics.dict.DictServerInfo

public class DictServerInfo
extends java.lang.Object

Uchovava informace o dict serveru - seznam databazi a zpusobu hledani


Constructor Summary
DictServerInfo(java.lang.String name, int port)
          Creates a new DictServerInfo object.
 
Method Summary
 java.util.Vector getDatabase()
          DOCUMENT ME!
 java.lang.String getDefinition(java.lang.String db, java.lang.String word)
          DOCUMENT ME!
 java.lang.String getServerName()
          DOCUMENT ME!
 int getServerPort()
          DOCUMENT ME!
 java.util.Vector getStrategy()
          DOCUMENT ME!
 java.util.Vector getWords(java.lang.String db, java.lang.String strat, java.lang.String word)
          DOCUMENT ME!
static void main(java.lang.String[] args)
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DictServerInfo

public DictServerInfo(java.lang.String name,
                      int port)
Creates a new DictServerInfo object.

Parameters:
name - DOCUMENT ME!
port - DOCUMENT ME!
Method Detail

main

public static void main(java.lang.String[] args)
DOCUMENT ME!

Parameters:
args - DOCUMENT ME!

getServerName

public java.lang.String getServerName()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getServerPort

public int getServerPort()
DOCUMENT ME!

Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!

getDatabase

public java.util.Vector getDatabase()
                             throws DictException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
DictException - DOCUMENT ME!

getStrategy

public java.util.Vector getStrategy()
                             throws DictException
DOCUMENT ME!

Returns:
DOCUMENT ME!
Throws:
DictException - DOCUMENT ME!

getWords

public java.util.Vector getWords(java.lang.String db,
                                 java.lang.String strat,
                                 java.lang.String word)
                          throws DictException
DOCUMENT ME!

Parameters:
db - DOCUMENT ME!
strat - DOCUMENT ME!
word - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
DictException - DOCUMENT ME!

getDefinition

public java.lang.String getDefinition(java.lang.String db,
                                      java.lang.String word)
                               throws DictException
DOCUMENT ME!

Parameters:
db - DOCUMENT ME!
word - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
DictException - DOCUMENT ME!