public final class ResourceBundleExportImportMgr
extends java.lang.Object
Constructor and Description |
---|
ResourceBundleExportImportMgr() |
Modifier and Type | Method and Description |
---|---|
static void |
exportResourceBundle(java.lang.String toDir,
java.lang.String exportFileName,
java.util.Locale exportLocale)
API to be called from the mbean to export the ADF resourcebundles(companion bundles and single FA docs) customizations from
MDS for a specific locale and combine all the strings into a single .xlf format file to be downloaded to disk under the directory
provided by toDir parameter and for the locale passed in under exportLocale.
|
static void |
importResourceBundle(java.lang.String fromDir,
java.lang.String importFileName,
java.util.Locale importLocale)
API to be called from the mbean to import the ADF resourcebundles(companion bundles and single FA docs) from a single .xlf file
speciifed under a directory in disk and for a specific locale provided by fromDir and importLocale.
|
public static void exportResourceBundle(java.lang.String toDir, java.lang.String exportFileName, java.util.Locale exportLocale)
For e.g , when the following export command is executed as part of wlst:
exportResourceBundle(application='
toDir
- - Existing directory name where the file to be exportedexportFileName
- - FileName(like MyExport.xlf) where the exported string will get written toexportLocale
- - Locale for which the strings will be read from MDS docs.public static void importResourceBundle(java.lang.String fromDir, java.lang.String importFileName, java.util.Locale importLocale)
For e.g , when the following import command is executed as part of wlst:
importResourceBundle(application='
fromDir
- Existing directory name from where the file to be importedimportFileName
- FileName(like MyExport_importLocale
- The target locale .