protected static enum HierarchialTranslationTable.Format extends java.lang.Enum<HierarchialTranslationTable.Format>
Enum Constant and Description |
---|
CSV |
PROPERTIES |
XML |
Modifier and Type | Method and Description |
---|---|
HierarchialTranslationTable.AbstractExportTask |
createExportTask(java.lang.String baseDir,
java.lang.String baseFileName,
java.util.List<java.util.Locale> locales,
java.util.Collection<java.lang.String> keys,
TranslationPackage pkg) |
HierarchialTranslationTable.AbstractImportTask |
createImportTask(java.io.File file,
HierarchialTranslationTable.AbstractImportTask.OnCompleteCallback callback) |
static HierarchialTranslationTable.Format |
getFor(java.lang.String name) |
static HierarchialTranslationTable.Format |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HierarchialTranslationTable.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HierarchialTranslationTable.Format XML
public static final HierarchialTranslationTable.Format PROPERTIES
public static final HierarchialTranslationTable.Format CSV
public static HierarchialTranslationTable.Format[] values()
for (HierarchialTranslationTable.Format c : HierarchialTranslationTable.Format.values()) System.out.println(c);
public static HierarchialTranslationTable.Format valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic HierarchialTranslationTable.AbstractExportTask createExportTask(java.lang.String baseDir, java.lang.String baseFileName, java.util.List<java.util.Locale> locales, java.util.Collection<java.lang.String> keys, TranslationPackage pkg)
public HierarchialTranslationTable.AbstractImportTask createImportTask(java.io.File file, HierarchialTranslationTable.AbstractImportTask.OnCompleteCallback callback)
public static HierarchialTranslationTable.Format getFor(java.lang.String name)