public class GrobidFactory extends AbstractEngineFactory
| Modifier | Constructor and Description |
|---|---|
protected |
GrobidFactory()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Engine |
createEngine()
Return a new instance of engine.
|
Engine |
createEngine(boolean preload)
Return a new instance of engine.
|
Engine |
getEngine()
Return a new instance of engine if it doesn't exist, the existing
instance else.
|
Engine |
getEngine(boolean preload)
Return a new instance of engine if it doesn't exist, the existing
instance else.
|
static GrobidFactory |
getInstance()
Return a new instance of GrobidFactory if it doesn't exist, the existing
instance else.
|
protected static GrobidFactory |
newInstance()
Creates a new instance of GrobidFactory.
|
static void |
reset()
Resets this class and all its static fields.
|
fullInit, initpublic static GrobidFactory getInstance()
public Engine getEngine()
getEngine in class AbstractEngineFactorypublic Engine getEngine(boolean preload)
getEngine in class AbstractEngineFactorypublic Engine createEngine()
createEngine in class AbstractEngineFactorypublic Engine createEngine(boolean preload)
createEngine in class AbstractEngineFactoryprotected static GrobidFactory newInstance()
public static void reset()