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, init
public static GrobidFactory getInstance()
public Engine getEngine()
getEngine
in class AbstractEngineFactory
public Engine getEngine(boolean preload)
getEngine
in class AbstractEngineFactory
public Engine createEngine()
createEngine
in class AbstractEngineFactory
public Engine createEngine(boolean preload)
createEngine
in class AbstractEngineFactory
protected static GrobidFactory newInstance()
public static void reset()