Interface FileLanguageResourceSpecifier

All Superinterfaces:
Cloneable, MetaDataObject, ResourceSpecifier, Serializable, XMLizable
All Known Implementing Classes:
FileLanguageResourceSpecifier_impl

public interface FileLanguageResourceSpecifier extends ResourceSpecifier
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 Details

    • getFileUrlPrefix

      String getFileUrlPrefix()
      Retrieves the URL prefix.
      Returns:
      the URL prefix
    • getFileUrlSuffix

      String getFileUrlSuffix()
      Retrieves the URL suffix.
      Returns:
      the URL suffix
    • setFileUrlPrefix

      void setFileUrlPrefix(String aPrefix)
      Sets the URL prefix.
      Parameters:
      aPrefix - the URL prefix
    • setFileUrlSuffix

      void setFileUrlSuffix(String aSuffix)
      Sets the URL suffix.
      Parameters:
      aSuffix - the URL suffix