Package org.apache.hop.ui.i18n
Class BundleFile
- java.lang.Object
-
- org.apache.hop.core.changed.ChangedFlag
-
- org.apache.hop.ui.i18n.BundleFile
-
- All Implemented Interfaces:
IChanged
public class BundleFile extends ChangedFlag
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Stringget(String key)Map<String,String>getContents()Gets contentsStringgetFilename()Gets filenameStringgetLocale()Gets localeStringgetPackageName()Gets packageNameinthashCode()voidput(String key, String value)voidremove(String key)voidsetContents(Map<String,String> contents)voidsetFilename(String filename)voidsetLocale(String locale)voidsetPackageName(String packageName)voidwrite()Write the contents to file-
Methods inherited from class org.apache.hop.core.changed.ChangedFlag
addObserver, clearChanged, deleteObserver, hasChanged, notifyObservers, setChanged, setChanged
-
-
-
-
Method Detail
-
remove
public void remove(String key)
-
write
public void write() throws HopExceptionWrite the contents to file- Throws:
HopException
-
getFilename
public String getFilename()
Gets filename- Returns:
- value of filename
-
setFilename
public void setFilename(String filename)
- Parameters:
filename- The filename to set
-
getPackageName
public String getPackageName()
Gets packageName- Returns:
- value of packageName
-
setPackageName
public void setPackageName(String packageName)
- Parameters:
packageName- The packageName to set
-
getLocale
public String getLocale()
Gets locale- Returns:
- value of locale
-
setLocale
public void setLocale(String locale)
- Parameters:
locale- The locale to set
-
-