info.informatica.util.locale
Class FileResourceFactory
java.lang.Object
info.informatica.util.locale.ResourceFactory
info.informatica.util.locale.FileResourceFactory
public class FileResourceFactory
- extends ResourceFactory
Factory of localized objects through filesystem.
Loads files from filesystem according to basename, extension and locale name.
- Author:
- amengual at informatica dot info
FileResourceFactory
public FileResourceFactory(Associator assoc)
FileResourceFactory
public FileResourceFactory()
loadLocalFile
public InputStream loadLocalFile(String baseFileName,
String ext,
String localeName)
throws IOException
- Specified by:
loadLocalFile in class ResourceFactory
- Parameters:
baseFileName - the basename of the pathext - the extension.localeName - the name of the locale, eg. es_ES.
- Throws:
IOException