de.viaboxx.nlstools.formats
Class BundleWriterExcel

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

public class BundleWriterExcel
extends BundleWriter

Description:
User: roman.stumm
Date: 29.12.2010
Time: 15:25:42
viaboxx GmbH, 2010


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
BundleWriterExcel(MBBundle currentBundle)
           
BundleWriterExcel(MBBundles bundles, File target)
           
BundleWriterExcel(org.apache.tools.ant.Task task, String configFile, MBBundle currentBundle, String outputPath, BundleWriter.FileType fileType, Set<String> allowedLocales)
           
 
Method Summary
 List<String> getLocalesUsed()
           
protected  String suffix()
           
 void writeOutputFiles()
          generate the current bundle's property files
 
Methods inherited from class de.viaboxx.nlstools.formats.BundleWriter
buildOutputFileNameBase, buildOutputFileNameBase, createProperties, deleteFiles, deleteFiles, execute, getCurrentBundle, getFileName, getFileNameFlex, getFileNameJava, getOutputPath, getOutputPathName, isFlexLayout, mkdirs, needsNewFiles, setDebugMode, setDeleteOldFiles, setFlexLayout, setOverwrite, writeOutputFilePerLocale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleWriterExcel

public BundleWriterExcel(MBBundles bundles,
                         File target)

BundleWriterExcel

public BundleWriterExcel(MBBundle currentBundle)

BundleWriterExcel

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

suffix

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

getLocalesUsed

public List<String> getLocalesUsed()
Overrides:
getLocalesUsed in class BundleWriter
Returns:
a list of String with the locales used in the current bundle

writeOutputFiles

public void writeOutputFiles()
                      throws Exception
Description copied from class: BundleWriter
generate the current bundle's property files

Overrides:
writeOutputFiles in class BundleWriter
Throws:
Exception


Copyright © 2014. All Rights Reserved.