org.rdtdm.helpers
Class GlobalParams

java.lang.Object
  |
  +--org.rdtdm.helpers.GlobalParams

public class GlobalParams
extends java.lang.Object

GlobalParams verwaltet alle globalen Parameter.



Copyright (c) 2001 by Dirk Münstermann
All Rights Reserved

Version:
$Revision: 1.2 $ ($Date: 2001/10/23 13:40:13 $)
Changelog:
 $Log: GlobalParams.java,v $
 Revision 1.2  2001/10/23 13:40:13  dirk
 adding log and config paths

 Revision 1.1  2001/10/23 12:39:48  dirk
 init

 


Author:
Dirk Münstermann

Field Summary
private static java.lang.String configmaster
           
private static java.lang.String configpath
           
private static java.lang.String datapath
           
static java.lang.String DEFAULT_CONFIGDIRNAME
           
private static java.lang.String DEFAULT_CONFIGMASTER
           
static java.lang.String DEFAULT_DATADIRNAME
           
static java.lang.String DEFAULT_LOGDIRNAME
           
static java.lang.String DEFAULT_RESULTSDIRNAME
           
private static java.lang.String logpath
           
private static java.lang.String prgpath
           
private static java.lang.String resultspath
           
private static java.lang.String XML_EXT
           
 
Constructor Summary
GlobalParams()
           
 
Method Summary
static java.lang.String getConfigmaster()
          Liefert die interne Variable configmaster zurueck.
static java.lang.String getConfigpath()
          Liefert die interne Variable configpath zurueck.
static java.lang.String getDatapath()
          Liefert die interne Variable datapath zurueck.
static java.lang.String getLogpath()
          Liefert die interne Variable logpath zurueck.
static java.lang.String getPrgpath()
          Liefert die interne Variable prgpath zurueck.
static java.lang.String getResultspath()
          Liefert die interne Variable resultspath zurueck.
static void init(java.lang.String prgpath)
           
static void init(java.lang.String prgpath, java.lang.String datapath, java.lang.String resultspath)
           
static void init(java.lang.String prgpath, java.lang.String datapath, java.lang.String resultspath, java.lang.String logpath)
           
static void init(java.lang.String prgpath, java.lang.String datapath, java.lang.String resultspath, java.lang.String logpath, java.lang.String configpath)
           
static void setConfigmaster(java.lang.String _configmaster)
          Setzt die interne Variable configmaster.
static void setConfigpath(java.lang.String _configpath)
          Setzt die interne Variable configpath.
static void setDatapath(java.lang.String _datapath)
          Setzt die interne Variable datapath.
static void setLogpath(java.lang.String _logpath)
          Setzt die interne Variable logpath.
static void setPrgpath(java.lang.String _prgpath)
          Setzt die interne Variable prgpath.
static void setResultspath(java.lang.String _resultspath)
          Setzt die interne Variable resultspath.
static java.lang.String staticToString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DATADIRNAME

public static final java.lang.String DEFAULT_DATADIRNAME
See Also:
Constant Field Values

DEFAULT_CONFIGDIRNAME

public static final java.lang.String DEFAULT_CONFIGDIRNAME
See Also:
Constant Field Values

DEFAULT_RESULTSDIRNAME

public static final java.lang.String DEFAULT_RESULTSDIRNAME
See Also:
Constant Field Values

DEFAULT_LOGDIRNAME

public static final java.lang.String DEFAULT_LOGDIRNAME
See Also:
Constant Field Values

DEFAULT_CONFIGMASTER

private static final java.lang.String DEFAULT_CONFIGMASTER
See Also:
Constant Field Values

XML_EXT

private static final java.lang.String XML_EXT
See Also:
Constant Field Values

prgpath

private static java.lang.String prgpath

configpath

private static java.lang.String configpath

datapath

private static java.lang.String datapath

resultspath

private static java.lang.String resultspath

logpath

private static java.lang.String logpath

configmaster

private static java.lang.String configmaster
Constructor Detail

GlobalParams

public GlobalParams()
Method Detail

init

public static void init(java.lang.String prgpath)

init

public static void init(java.lang.String prgpath,
                        java.lang.String datapath,
                        java.lang.String resultspath)

init

public static void init(java.lang.String prgpath,
                        java.lang.String datapath,
                        java.lang.String resultspath,
                        java.lang.String logpath)

init

public static void init(java.lang.String prgpath,
                        java.lang.String datapath,
                        java.lang.String resultspath,
                        java.lang.String logpath,
                        java.lang.String configpath)

staticToString

public static java.lang.String staticToString()

setPrgpath

public static void setPrgpath(java.lang.String _prgpath)
Setzt die interne Variable prgpath.


getPrgpath

public static java.lang.String getPrgpath()
Liefert die interne Variable prgpath zurueck.

Returns:
prgpath Pfad zum Programmverzeichnis.


setConfigpath

public static void setConfigpath(java.lang.String _configpath)
Setzt die interne Variable configpath.


getConfigpath

public static java.lang.String getConfigpath()
Liefert die interne Variable configpath zurueck.

Returns:
configpath Pfad zum Programmverzeichnis.


setDatapath

public static void setDatapath(java.lang.String _datapath)
Setzt die interne Variable datapath.


getDatapath

public static java.lang.String getDatapath()
Liefert die interne Variable datapath zurueck.

Returns:
datapath Pfad zum Programmverzeichnis.


setResultspath

public static void setResultspath(java.lang.String _resultspath)
Setzt die interne Variable resultspath.


getResultspath

public static java.lang.String getResultspath()
Liefert die interne Variable resultspath zurueck.

Returns:
resultspath Pfad zum Programmverzeichnis.


setLogpath

public static void setLogpath(java.lang.String _logpath)
Setzt die interne Variable logpath.


getLogpath

public static java.lang.String getLogpath()
Liefert die interne Variable logpath zurueck.

Returns:
logpath Pfad zum Programmverzeichnis.


setConfigmaster

public static void setConfigmaster(java.lang.String _configmaster)
Setzt die interne Variable configmaster.


getConfigmaster

public static java.lang.String getConfigmaster()
Liefert die interne Variable configmaster zurueck.

Returns:
configmaster Name der master Konfigurationsdatei