|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileLanguageResourceSpecifier
A type of ResourceSpecifier
that locates a resource file using its URL, where the
URL depends on an ISO language identifier. An example of this type of resource is a dictionary
with a separate data file for each language.
Instead of a single URL, this specifier defines a URL prefix and a URL suffix. The ISO language
identifier is then placed between the prefix and suffix to form the complete URL of the file. If
that file does not exist, more general language identifiers will be tried. For example, if there
is no resource for en-US
, the resource for en
will be used
instead.
Method Summary | |
---|---|
String |
getFileUrlPrefix()
Retrieves the URL prefix. |
String |
getFileUrlSuffix()
Retrieves the URL suffix. |
void |
setFileUrlPrefix(String aPrefix)
Sets the URL prefix. |
void |
setFileUrlSuffix(String aSuffix)
Sets the URL suffix. |
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 |
---|
String getFileUrlPrefix()
String getFileUrlSuffix()
void setFileUrlPrefix(String aPrefix)
aPrefix
- the URL prefixvoid setFileUrlSuffix(String aSuffix)
aSuffix
- the URL suffix
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |