Package org.apache.uima.resource
Interface FileResourceSpecifier
-
- All Superinterfaces:
java.lang.Cloneable,MetaDataObject,ResourceSpecifier,java.io.Serializable,XMLizable
- All Known Implementing Classes:
FileResourceSpecifier_impl
public interface FileResourceSpecifier extends ResourceSpecifier
A type ofResourceSpecifierthat locates a resource file using its URL.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetFileUrl()Retrieves the URL of the file.java.lang.StringgetLocalCache()Gets the file name for the local cache of a remote resource file.voidsetFileUrl(java.lang.String aUrl)Sets the URL of the file.voidsetLocalCache(java.lang.String aFileName)Sets the file name for the local cache of a remote resource file.-
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
-
Methods inherited from interface org.apache.uima.util.XMLizable
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
-
-
-
-
Method Detail
-
getFileUrl
java.lang.String getFileUrl()
Retrieves the URL of the file.- Returns:
- a URL string
-
getLocalCache
java.lang.String getLocalCache()
Gets the file name for the local cache of a remote resource file. This is optional.- Returns:
- the file name of the local cache,
nullif none.
-
setFileUrl
void setFileUrl(java.lang.String aUrl)
Sets the URL of the file.- Parameters:
aUrl- a URL string
-
setLocalCache
void setLocalCache(java.lang.String aFileName)
Sets the file name for the local cache of a remote resource file. This is optional.- Parameters:
aFileName- file name of the local cache,nullif none.
-
-