org.activemath.webapp.i18n
Class LocalizedFile

java.lang.Object
  extended by org.activemath.webapp.i18n.LocalizedFile

public class LocalizedFile
extends Object

This class incapsulates the file and its Locale, as well as methods for finding the right localizedfile.


Field Summary
 File file
           
 String language
           
 
Constructor Summary
LocalizedFile(String filename, String lang)
           
 
Method Summary
 File getFile()
           
 String getLanguage()
           
 Locale getLocale(String lang)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

public File file

language

public String language
Constructor Detail

LocalizedFile

public LocalizedFile(String filename,
                     String lang)
Method Detail

getFile

public File getFile()

getLanguage

public String getLanguage()

getLocale

public Locale getLocale(String lang)