DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.test
Class TesterUtils

java.lang.Object
  extended by org.dlese.dpc.schemedit.test.TesterUtils

public class TesterUtils
extends Object

Methods to help tester classes use information in the framework config files.

Author:
ostwald

Constructor Summary
TesterUtils()
           
 
Method Summary
static String getCannedCMPath()
           
static String getCollectionConfigDir()
           
static String getDocRoot()
           
static MetaDataFramework getFramework(String xmlFormat)
           
static String getFrameworkConfigDir()
           
static FrameworkConfigReader getFrameworkConfigReader(File source)
          Gets the frameworkConfigReader attribute of the TesterUtils class
static FrameworkConfigReader getFrameworkConfigReader(String framework)
          Gets the frameworkConfigReader attribute of the TesterUtils class
static String getRecordsPath()
           
static String getSchemaUri(String xmlFormat)
           
static String getTmpDir()
           
static String getTomcatDir()
           
static void main(String[] args)
          The main program for the TesterUtils class
static void setSystemProps()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TesterUtils

public TesterUtils()
Method Detail

getFramework

public static MetaDataFramework getFramework(String xmlFormat)
                                      throws Exception
Throws:
Exception

getTomcatDir

public static String getTomcatDir()
                           throws Exception
Throws:
Exception

getTmpDir

public static String getTmpDir()
                        throws Exception
Throws:
Exception

getCannedCMPath

public static String getCannedCMPath()
                              throws Exception
Throws:
Exception

getRecordsPath

public static String getRecordsPath()
                             throws Exception
Throws:
Exception

getDocRoot

public static String getDocRoot()
                         throws Exception
Throws:
Exception

getFrameworkConfigDir

public static String getFrameworkConfigDir()
                                    throws Exception
Throws:
Exception

getCollectionConfigDir

public static String getCollectionConfigDir()
                                     throws Exception
Throws:
Exception

getFrameworkConfigReader

public static FrameworkConfigReader getFrameworkConfigReader(String framework)
                                                      throws Exception
Gets the frameworkConfigReader attribute of the TesterUtils class

Parameters:
framework - Description of the Parameter
Returns:
The frameworkConfigReader value
Throws:
Exception

getFrameworkConfigReader

public static FrameworkConfigReader getFrameworkConfigReader(File source)
Gets the frameworkConfigReader attribute of the TesterUtils class

Parameters:
source - Description of the Parameter
Returns:
The frameworkConfigReader value

getSchemaUri

public static String getSchemaUri(String xmlFormat)

setSystemProps

public static void setSystemProps()

main

public static void main(String[] args)
The main program for the TesterUtils class

Parameters:
args - The command line arguments

DLESE Tools
v1.6.0