Package | Description |
---|---|
org.apache.uima |
The main package for the Unstructured Information Management Middleware
Architecture.
|
org.apache.uima.resource |
Interfaces for
Resources and ResourceSpecifiers . |
Modifier and Type | Method and Description |
---|---|
InputStream |
UimaContext.getResourceAsStream(String aKey)
Retrieves an InputStream for reading from the named resource.
|
InputStream |
UimaContext.getResourceAsStream(String aKey,
String[] aParams)
Retrieves an InputStream for reading from the named resource.
|
String |
UimaContext.getResourceFilePath(String aKey)
Retrieves the absolute file path to the named resource.
|
String |
UimaContext.getResourceFilePath(String aKey,
String[] aParams)
Retrieves the absolute file path to the named resource.
|
Object |
UimaContext.getResourceObject(String aKey)
Retrieves the named resource object.
|
Object |
UimaContext.getResourceObject(String aKey,
String[] aParams)
Retrieves the named resource object.
|
URI |
UimaContext.getResourceURI(String aKey)
Retrieves the URI to the named resource.
|
URI |
UimaContext.getResourceURI(String aKey,
String[] aParams)
Retrieves the URI to the named resource.
|
URL |
UimaContext.getResourceURL(String aKey)
Retrieves the URL to the named resource.
|
URL |
UimaContext.getResourceURL(String aKey,
String[] aParams)
Retrieves the URL to the named resource.
|
Modifier and Type | Method and Description |
---|---|
Object |
ResourceManager.getResource(String aName)
Gets the instance of the implementation object for a resource that has been registered under the specified name.
|
Object |
ResourceManager.getResource(String aName,
String[] aParams)
Returns one of two kinds of objects (or null):
- an instance of the implementation object for a resource, that has
been loaded with a DataResource resource produced by the resource given the aParms
- (if there is no implementation defined for this resource)
returns an instance of the DataResource, itself, produced by the resource given the aParms
An example of a parameterized Resource is a
dictionary whose data depend on a specified language identifier.
|
InputStream |
ResourceManager.getResourceAsStream(String aKey)
Retrieves an InputStream for reading from the named resource.
|
InputStream |
ResourceManager.getResourceAsStream(String aKey,
String[] aParams)
Retrieves an InputStream for reading from the named resource.
|
URL |
ResourceManager.getResourceURL(String aKey)
Retrieves the URL to the named resource.
|
URL |
ResourceManager.getResourceURL(String aKey,
String[] aParams)
Retrieves the URL to the named resource.
|
Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.