public class BundleWriterProperties extends BundleWriter
BundleWriter.FileTypeallowedLocales, bundles, configFile, currentBundle, debugMode, deleteOldFiles, fileType, flexLayout, myUsedLocales, outputPath, overwrite, task| Constructor and Description |
|---|
BundleWriterProperties(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 |
getCharset() |
protected String |
getPropertiesHeader(String locale) |
void |
setCharset(String charset) |
void |
setMerged(boolean merged) |
protected String |
suffix() |
protected void |
writeOutputFilePerLocale(String locale) |
protected void |
writeProperties(OutputStream stream,
String aLocale,
String header) |
buildOutputFileNameBase, buildOutputFileNameBase, createProperties, createProperties, deleteFiles, deleteFiles, execute, getCurrentBundle, getFileName, getFileNameFlex, getFileNameJava, getLocalesUsed, getLocalesUsed, getOutputPath, getOutputPathName, isFlexLayout, mkdirs, needsNewFiles, setBundles, setDebugMode, setDeleteOldFiles, setFlexLayout, setOverwrite, writeOutputFilespublic void setMerged(boolean merged)
public String getCharset()
public void setCharset(String charset)
protected String suffix()
suffix in class BundleWriterprotected void writeOutputFilePerLocale(String locale) throws IOException
writeOutputFilePerLocale in class BundleWriterIOExceptionprotected void writeProperties(OutputStream stream, String aLocale, String header) throws IOException
IOExceptionCopyright © 2017. All rights reserved.