org.apache.uima.resource
public interface FileResourceSpecifier extends ResourceSpecifier
ResourceSpecifier
that locates a resource file using its URL.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFileUrl()
Retrieves the URL of the file.
|
java.lang.String |
getLocalCache()
Gets the file name for the local cache of a remote resource file.
|
void |
setFileUrl(java.lang.String aUrl)
Sets the URL of the file.
|
void |
setLocalCache(java.lang.String aFileName)
Sets the file name for the local cache of a remote resource file.
|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
java.lang.String getFileUrl()
java.lang.String getLocalCache()
null
if none.void setFileUrl(java.lang.String aUrl)
aUrl
- a URL stringvoid setLocalCache(java.lang.String aFileName)
aFileName
- file name of the local cache, null
if none.Copyright © 2014. All Rights Reserved.