public final class LifeCycleUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
close(BaseCollectionReader aReader)
Close a reader.
|
static void |
collectionProcessComplete(AnalysisEngine... engines)
Notify a set of
analysis engines that the collection process is
complete. |
static void |
destroy(Resource... resources)
Destroy a set of
resources. |
static void |
destroy(ResourceManager aResMgr)
Destroy a set of
resource manager. |
public static void collectionProcessComplete(AnalysisEngine... engines) throws AnalysisEngineProcessException
analysis engines that the collection process is
complete.engines - the engines to notify of completionAnalysisEngineProcessException - if there was a problem in the engines reacting to completionpublic static void destroy(ResourceManager aResMgr)
resource manager.aResMgr - the resource manager to destroypublic static void destroy(Resource... resources)
resources.resources - the resources to destroypublic static void close(BaseCollectionReader aReader)
aReader - the reader to closeCopyright © 2012–2021 The Apache Software Foundation. All rights reserved.