org.pf.tools.cda.core
Class Module

java.lang.Object
  extended by org.pf.tools.cda.core.Module

public abstract class Module
extends java.lang.Object

Provides only static code and public constants which are relevant for several classes in the module this class represents.

Version:
1.0
Author:
M.Duchrow

Field Summary
static java.lang.String ID
           
static java.lang.String MSG_CANNOT_LOAD_WORKSET_0_1
           
static java.lang.String MSG_ERROR_PARSING_WORKSET_0_1
           
static java.lang.String MSG_FILE_0_NOT_EXISTING
           
static java.lang.String MSG_PARSER_ERROR_WORKSET_0_1
           
 
Method Summary
static org.pf.plugin.PluginRegistry getExporterPluginRegistry()
           
static int getIntSetting(java.lang.String propertyName, int defaultValue)
           
static org.pf.logging.Logger getLogger()
          Returns the component's logger.
static java.lang.String getText(java.lang.String textId)
          Returns the localized text for the given key.
static java.lang.String getText(java.lang.String textId, java.lang.Object[] values)
          Returns the text identified by the given textId where all placeholders in the text are replaced by the objects specified in the given values array.
static void initialize()
          Loads the module's resource bundle for the default locale.
static StringUtil str()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

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

MSG_FILE_0_NOT_EXISTING

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

MSG_PARSER_ERROR_WORKSET_0_1

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

MSG_ERROR_PARSING_WORKSET_0_1

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

MSG_CANNOT_LOAD_WORKSET_0_1

public static final java.lang.String MSG_CANNOT_LOAD_WORKSET_0_1
See Also:
Constant Field Values
Method Detail

initialize

public static void initialize()
Loads the module's resource bundle for the default locale.


getLogger

public static org.pf.logging.Logger getLogger()
Returns the component's logger.


getExporterPluginRegistry

public static org.pf.plugin.PluginRegistry getExporterPluginRegistry()

getText

public static java.lang.String getText(java.lang.String textId,
                                       java.lang.Object[] values)
Returns the text identified by the given textId where all placeholders in the text are replaced by the objects specified in the given values array.


getText

public static java.lang.String getText(java.lang.String textId)
Returns the localized text for the given key. If no text can be found for the given id the id itself will be returned unchanged.


getIntSetting

public static int getIntSetting(java.lang.String propertyName,
                                int defaultValue)

str

public static StringUtil str()