public class BundleWriterFlexClass extends BundleWriter
BundleWriter.FileTypeallowedLocales, bundles, configFile, currentBundle, debugMode, deleteOldFiles, fileType, flexLayout, myUsedLocales, outputPath, overwrite, task| Constructor and Description |
|---|
BundleWriterFlexClass(org.apache.tools.ant.Task task,
String configFile,
MBBundle currentBundle,
String outputPath,
BundleWriter.FileType fileType,
Set<String> allowedLocales) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExampleLocale() |
protected boolean |
needsNewFiles()
true when generation is neccessary, false when up-to-date
|
void |
setExampleLocale(String exampleLocale) |
protected String |
suffix() |
void |
writeOutputFiles()
generate the current bundle's interface
|
buildOutputFileNameBase, buildOutputFileNameBase, createProperties, createProperties, deleteFiles, deleteFiles, execute, getCurrentBundle, getFileName, getFileNameFlex, getFileNameJava, getLocalesUsed, getLocalesUsed, getOutputPath, getOutputPathName, isFlexLayout, mkdirs, setBundles, setDebugMode, setDeleteOldFiles, setFlexLayout, setOverwrite, writeOutputFilePerLocalepublic String getExampleLocale()
public void setExampleLocale(String exampleLocale)
protected String suffix()
suffix in class BundleWriterpublic void writeOutputFiles()
throws Exception
writeOutputFiles in class BundleWriterExceptionprotected boolean needsNewFiles()
throws FileNotFoundException
needsNewFiles in class BundleWriterFileNotFoundExceptionCopyright © 2017. All rights reserved.