public final class Configuration
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
gate.CorpusController |
getController(java.lang.String usageContext) |
java.lang.String |
getGappFilePath(java.lang.String usageContext) |
static Configuration |
getInstance() |
void |
resetConfiguration()
Removes every mappings in this object ; moreover it deletes the singleton.
|
void |
resetConfiguration(java.lang.String usageContext)
Remove entries in the two map that where associated with this usageContext.
|
void |
setController(java.lang.String usageContext,
gate.CorpusController pipeline) |
void |
setGateApplicationStateFileName(java.lang.String usageContext,
java.lang.String filePath) |
public static Configuration getInstance()
public java.lang.String getGappFilePath(java.lang.String usageContext)
usageContext - The usageContext that shall not be null.public void setGateApplicationStateFileName(java.lang.String usageContext,
java.lang.String filePath)
usageContext - The usageContext tha shall not be nullfilePath - The gapp file pathpublic gate.CorpusController getController(java.lang.String usageContext)
usageContext - The usageContext that shall not be nullpublic void setController(java.lang.String usageContext,
gate.CorpusController pipeline)
usageContext - The usageContext that shall not be nullpipeline - The controllerpublic void resetConfiguration(java.lang.String usageContext)
usageContext - The usageContext that shall not be nullpublic void resetConfiguration()
Copyright © 2004-2012. All Rights Reserved.