net.sf.jmd
Class Config

java.lang.Object
  extended by net.sf.jmd.Config

public class Config
extends java.lang.Object


Method Summary
static java.util.List<java.lang.String> getMailProperties(int i)
          Return a List of numbered mail properties (e.g.
static java.util.List<java.lang.String> getRuleProperties(int i)
          Return a List of numbered rule properties (e.g.
static java.lang.String getStringProperty(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStringProperty

public static java.lang.String getStringProperty(java.lang.String key)
                                          throws MoDiException
Throws:
MoDiException

getRuleProperties

public static java.util.List<java.lang.String> getRuleProperties(int i)
Return a List of numbered rule properties (e.g. MoDi.Rule.1.Name ) or NULL if the property could not be found.

Parameters:
i - the number of the configured item like: MoDi.Rule.1.name
Returns:
a list of properties or null if the property could not be found.

getMailProperties

public static java.util.List<java.lang.String> getMailProperties(int i)
Return a List of numbered mail properties (e.g. MoDi.Mail.1.Name ) or NULL if the property could not be found.

Parameters:
i - the number of the configured item like: MoDi.Mail.1.name
Returns:
a list of properties or null if the property could not be found.


Copyright © 2007-2010. All Rights Reserved.