de.viaboxx.nlstools.formats
Class BundleWriterJson

java.lang.Object
  extended by de.viaboxx.nlstools.formats.BundleWriter
      extended by de.viaboxx.nlstools.formats.BundleWriterJson

public class BundleWriterJson
extends BundleWriter

Description:
User: roman.stumm
Date: 15.06.2007
Time: 09:44:11
Copyright: Viaboxx GmbH


Nested Class Summary
 
Nested classes/interfaces inherited from class de.viaboxx.nlstools.formats.BundleWriter
BundleWriter.FileType
 
Field Summary
 
Fields inherited from class de.viaboxx.nlstools.formats.BundleWriter
allowedLocales, configFile, currentBundle, deleteOldFiles, fileType, flexLayout, myUsedLocales, outputPath, overwrite, task
 
Constructor Summary
BundleWriterJson(org.apache.tools.ant.Task task, String configFile, MBBundle currentBundle, String outputPath, String outputFile, BundleWriter.FileType fileType, Set<String> allowedLocales)
           
 
Method Summary
protected  StringBuilder buildOutputFileNameBase()
           
 void setMerged(boolean merged)
           
protected  String suffix()
           
protected  void writeOutputFilePerLocale(String locale)
           
 
Methods inherited from class de.viaboxx.nlstools.formats.BundleWriter
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
 

Constructor Detail

BundleWriterJson

public BundleWriterJson(org.apache.tools.ant.Task task,
                        String configFile,
                        MBBundle currentBundle,
                        String outputPath,
                        String outputFile,
                        BundleWriter.FileType fileType,
                        Set<String> allowedLocales)
Method Detail

setMerged

public void setMerged(boolean merged)

writeOutputFilePerLocale

protected void writeOutputFilePerLocale(String locale)
                                 throws Exception
Overrides:
writeOutputFilePerLocale in class BundleWriter
Throws:
Exception

buildOutputFileNameBase

protected StringBuilder buildOutputFileNameBase()
Overrides:
buildOutputFileNameBase in class BundleWriter

suffix

protected String suffix()
Specified by:
suffix in class BundleWriter


Copyright © 2012. All Rights Reserved.