Constructor and Description |
---|
Server()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
bind()
Load all submodules (segmenter, parser, analyzer, ...)
|
long |
getCapabilities()
Get server capabilities
|
java.util.Properties |
getDefaultConfig(Language lang)
Get server config
|
java.lang.String |
getDescription()
Get server description
|
Options |
getOptions()
Get server options
|
IDocumentFactory |
makeDocumentFactory()
Make document factory
|
RelationModel |
makeRelationModel()
Make relation model
|
void |
reset()
Reset
|
void |
setup(java.util.Properties settings)
Pass config
|
void |
unbind()
Unbind
|
private Language language
public void setup(java.util.Properties settings)
IServer
public void reset()
IServer
public boolean bind()
IServer
public void unbind()
IServer
public long getCapabilities()
IServer
getCapabilities
in interface IServer
public java.lang.String getDescription()
IServer
getDescription
in interface IServer
public Options getOptions()
IServer
getOptions
in interface IServer
public IDocumentFactory makeDocumentFactory()
IBuilder
makeDocumentFactory
in interface IBuilder
public RelationModel makeRelationModel()
IBuilder
makeRelationModel
in interface IBuilder
public java.util.Properties getDefaultConfig(Language lang)
IServer
getDefaultConfig
in interface IServer