de.viaboxx.nlstools.formats
Class BundleWriterSql

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

public class BundleWriterSql
extends BundleWriter

Description:
User: roman.stumm
Date: 15.06.2007
Time: 12:20:23
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
BundleWriterSql(org.apache.tools.ant.Task task, String configFile, MBBundle currentBundle, String outputPath, BundleWriter.FileType fileType, Set<String> allowedLocales)
           
 
Method Summary
protected  boolean needsNewFiles()
          true when generation is neccessary, false when up-to-date
protected  String suffix()
           
protected  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, 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

BundleWriterSql

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

writeOutputFiles

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

Overrides:
writeOutputFiles in class BundleWriter
Throws:
IOException

needsNewFiles

protected boolean needsNewFiles()
                         throws FileNotFoundException
Description copied from class: BundleWriter
true when generation is neccessary, false when up-to-date

Overrides:
needsNewFiles in class BundleWriter
Throws:
FileNotFoundException

suffix

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


Copyright © 2013. All Rights Reserved.