de.viaboxx.nlstools.formats
Class BundleWriterProperties
java.lang.Object
de.viaboxx.nlstools.formats.BundleWriter
de.viaboxx.nlstools.formats.BundleWriterProperties
public class BundleWriterProperties
- extends BundleWriter
Description:
User: roman.stumm
Date: 15.06.2007
Time: 09:44:05
Copyright: Viaboxx GmbH
| Methods inherited from class de.viaboxx.nlstools.formats.BundleWriter |
buildOutputFileNameBase, buildOutputFileNameBase, createProperties, deleteFiles, deleteFiles, execute, getCurrentBundle, getFileName, getFileNameFlex, getFileNameJava, getLocalesUsed, getOutputPath, getOutputPathName, isFlexLayout, mkdirs, needsNewFiles, setDebugMode, setDeleteOldFiles, setFlexLayout, setOverwrite, writeOutputFiles |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BundleWriterProperties
public BundleWriterProperties(org.apache.tools.ant.Task task,
String configFile,
MBBundle currentBundle,
String outputPath,
BundleWriter.FileType fileType,
Set<String> allowedLocales)
getCharset
public String getCharset()
setCharset
public void setCharset(String charset)
suffix
protected String suffix()
- Specified by:
suffix in class BundleWriter
getPropertiesHeader
protected String getPropertiesHeader(String locale)
writeOutputFilePerLocale
protected void writeOutputFilePerLocale(String locale)
throws IOException
- Overrides:
writeOutputFilePerLocale in class BundleWriter
- Throws:
IOException
writeProperties
protected void writeProperties(OutputStream stream,
String aLocale,
String header)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.