wt.load.util
Class DTDGenerator

java.lang.Object
  extended bywt.load.util.DTDGenerator

public class DTDGenerator
extends Object


Field Summary
static String DEFAULT_DEV_OUT_PATH
           
private static String DEFAULT_INTEG_OUT_PATH
           
private static File DEFAULT_MAP_FILE
           
 String devOutPath
           
private  String integOutPath
           
private  File mapFile
           
 
Constructor Summary
DTDGenerator()
           
DTDGenerator(File mapFile, String devOutPath, String integOutPath)
           
 
Method Summary
 void doDevMode()
           
 void doIntMode()
           
private  void doTheWork(boolean devMode)
           
static void duplicateFile(File outputFile)
          Copies the passed in file to a duplicate file with a time stamp.
static void main(String[] args)
           
private static void printUsage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DEV_OUT_PATH

public static String DEFAULT_DEV_OUT_PATH

DEFAULT_MAP_FILE

private static File DEFAULT_MAP_FILE

DEFAULT_INTEG_OUT_PATH

private static String DEFAULT_INTEG_OUT_PATH

devOutPath

public String devOutPath

mapFile

private File mapFile

integOutPath

private String integOutPath
Constructor Detail

DTDGenerator

public DTDGenerator(File mapFile,
                    String devOutPath,
                    String integOutPath)

DTDGenerator

public DTDGenerator()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

doDevMode

public void doDevMode()
               throws WTException
Throws:
WTException

doIntMode

public void doIntMode()
               throws WTException
Throws:
WTException

doTheWork

private void doTheWork(boolean devMode)
                throws WTException
Throws:
WTException

printUsage

private static void printUsage()

duplicateFile

public static void duplicateFile(File outputFile)
                          throws IOException
Copies the passed in file to a duplicate file with a time stamp.

Throws:
IOException