wt.load.util
Class UpdateEditDTDUtility

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

public class UpdateEditDTDUtility
extends Object

If you have updated the dtd files that are used for run-time import/export validation on your system, you should run this program to update the edit dtd. This program is driven by two wt.properties. com.ptc.netmarkets.ixb.dtdLocation The default for this property is $(wt.home)/loadXMLFiles com.ptc.netmarkets.ixb.dtdName The default for this property is standard.dtd This class only works for DTDs in the $(wt.home)/registry/dtds directory.


Field Summary
private static String DEV_INPUT_DIR
           
private static String DEV_OUTPUT_DIR
           
private static String DEV_OUTPUT_NAME
           
private static String INPUT_DIR
           
private static String OUTPUT_DIR
           
private static String OUTPUT_DIR_KEY
           
private static String OUTPUT_NAME
           
private static String OUTPUT_NAME_KEY
           
 
Constructor Summary
UpdateEditDTDUtility()
           
 
Method Summary
static void doDevMode()
           
static void doUserMode()
           
private static void duplicateFile(File outputFile)
           
private static String[] getFileList(File dir)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUTPUT_DIR

private static final String OUTPUT_DIR

OUTPUT_DIR_KEY

private static final String OUTPUT_DIR_KEY
See Also:
Constant Field Values

OUTPUT_NAME_KEY

private static final String OUTPUT_NAME_KEY
See Also:
Constant Field Values

OUTPUT_NAME

private static final String OUTPUT_NAME

INPUT_DIR

private static final String INPUT_DIR

DEV_OUTPUT_DIR

private static final String DEV_OUTPUT_DIR

DEV_OUTPUT_NAME

private static final String DEV_OUTPUT_NAME

DEV_INPUT_DIR

private static final String DEV_INPUT_DIR
Constructor Detail

UpdateEditDTDUtility

public UpdateEditDTDUtility()
Method Detail

main

public static void main(String[] args)

duplicateFile

private static void duplicateFile(File outputFile)
                           throws IOException
Throws:
IOException

doUserMode

public static void doUserMode()
                       throws IOException
Throws:
IOException

doDevMode

public static void doDevMode()
                      throws IOException
Throws:
IOException

getFileList

private static String[] getFileList(File dir)
                             throws IOException
Throws:
IOException