de.viaboxx.nlstools.formats
Class BundleWriterFlexClass

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

public class BundleWriterFlexClass
extends BundleWriter

Description:
User: roman.stumm
Date: 12.10.2010
Time: 12:14:13
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
BundleWriterFlexClass(org.apache.tools.ant.Task task, String configFile, MBBundle currentBundle, String outputPath, BundleWriter.FileType fileType, Set<String> allowedLocales)
           
 
Method Summary
 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
 
Methods inherited from class de.viaboxx.nlstools.formats.BundleWriter
buildOutputFileNameBase, buildOutputFileNameBase, createProperties, deleteFiles, deleteFiles, execute, getCurrentBundle, getFileName, getFileNameFlex, getFileNameJava, getLocalesUsed, getOutputPath, getOutputPathName, isFlexLayout, mkdirs, 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

BundleWriterFlexClass

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

getExampleLocale

public String getExampleLocale()

setExampleLocale

public void setExampleLocale(String exampleLocale)

suffix

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

writeOutputFiles

public void writeOutputFiles()
                      throws Exception
generate the current bundle's interface

Overrides:
writeOutputFiles in class BundleWriter
Throws:
Exception

needsNewFiles

protected boolean needsNewFiles()
                         throws FileNotFoundException
true when generation is neccessary, false when up-to-date

Overrides:
needsNewFiles in class BundleWriter
Throws:
FileNotFoundException


Copyright © 2012. All Rights Reserved.