Menu
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members
engine::GATEngine Class ReferenceThis class make the various GAT adaptors available to GAT.
More...
Collaboration diagram for engine::GATEngine:
[legend]List of all members.
|
Public Methods |
| Object | getAdaptor (Class cpiClass, GATContext gatContext, Preferences preferences, Object[] tmpParams) |
| | Returns an instance of the specified XXXCpi class consistent with the passed XXXCpi class name, preferences, and parameters.
|
Static Public Methods |
| synchronized GATEngine | getGATEngine () |
| | Singleton method to construct a GATEngine.
|
Protected Methods |
| | GATEngine () |
| | Constructs a default GATEngine instance.
|
| void | readJarFiles () |
| | This method periodically populates the Map returned from a call to the method getCpiClasses().
|
| void | printJars (List l) |
| String | getOptionalPkgDirectory () |
| | Gets the optional packages directories.
|
| List | getFiles (File optionalPkgDirectory) |
| | Obtains File's in the optional directory.
|
| List | getJarFiles (String dir) |
| | Obtains JarFile's in the optional directory that are GAT jar's.
|
| void | loadCpiClass (Manifest manifest, Attributes attributes, String className, Class cpiClazz) |
| void | loadCPIClassesFromJar (JarFile jarFile) |
| void | loadJarFiles (List jarFiles) |
| | Populate cpiClasses.
|
Static Protected Attributes |
| final boolean | DEBUG = true |
Private Attributes |
| Hashtable | adaptors |
| | Keys are cpiClass names, elements are AdaptorSets.
|
Static Private Attributes |
| GATEngine | gatEngine = null |
| | This member variable holds reference to the single GATEngine.
|
Detailed Description
This class make the various GAT adaptors available to GAT.
Definition at line 31 of file GATEngine.java.
Constructor & Destructor Documentation
| engine::GATEngine::GATEngine |
( |
|
) |
[inline, protected] |
|
Member Function Documentation
| synchronized GATEngine engine::GATEngine::getGATEngine |
( |
|
) |
[inline, static] |
|
| Object engine::GATEngine::getAdaptor |
( |
Class |
cpiClass, |
|
|
GATContext |
gatContext, |
|
|
Preferences |
preferences, |
|
|
Object |
tmpParams[] |
|
) |
[inline] |
|
| void engine::GATEngine::readJarFiles |
( |
|
) |
[inline, protected] |
|
| void engine::GATEngine::printJars |
( |
List |
l |
) |
[inline, protected] |
|
| String engine::GATEngine::getOptionalPkgDirectory |
( |
|
) |
[inline, protected] |
|
| List engine::GATEngine::getFiles |
( |
File |
optionalPkgDirectory |
) |
[inline, protected] |
|
| List engine::GATEngine::getJarFiles |
( |
String |
dir |
) |
[inline, protected] |
|
| void engine::GATEngine::loadCpiClass |
( |
Manifest |
manifest, |
|
|
Attributes |
attributes, |
|
|
String |
className, |
|
|
Class |
cpiClazz |
|
) |
[inline, protected] |
|
| void engine::GATEngine::loadCPIClassesFromJar |
( |
JarFile |
jarFile |
) |
[inline, protected] |
|
| void engine::GATEngine::loadJarFiles |
( |
List |
jarFiles |
) |
[inline, protected] |
|
Member Data Documentation
final boolean engine::GATEngine::DEBUG = true [static, protected]
|
|
GATEngine engine::GATEngine::gatEngine = null [static, private]
|
|
Hashtable engine::GATEngine::adaptors [private]
|
|
The documentation for this class was generated from the following file:
|
|