org.objectweb.telosys.uil.i18n
Class FileTranslatorLoader

java.lang.Object
  extended byorg.objectweb.telosys.uil.i18n.FileTranslatorLoader
All Implemented Interfaces:
ITranslatorLoader

public final class FileTranslatorLoader
extends java.lang.Object
implements ITranslatorLoader

Tool class for translators loading


Constructor Summary
FileTranslatorLoader()
           
 
Method Summary
 Translator loadTranslations(javax.servlet.ServletContext servletContext, java.lang.String sJspFile, java.lang.String[] languages)
          Loads the 0..N translations files for the given JSP file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTranslatorLoader

public FileTranslatorLoader()
Method Detail

loadTranslations

public Translator loadTranslations(javax.servlet.ServletContext servletContext,
                                   java.lang.String sJspFile,
                                   java.lang.String[] languages)
Loads the 0..N translations files for the given JSP file

Specified by:
loadTranslations in interface ITranslatorLoader
Parameters:
servletContext - the standard ServletContext
sJspFile - the JSP file that need a translator
languages - the list of languages to load
Returns: