java.lang.Object
org.apache.lenya.net.Configuration
- public class Configuration
- extends java.lang.Object
Read configuration
|
Constructor Summary |
Configuration()
Creates a new Configuration object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
static org.apache.log4j.Category log
DEFAULT_CONFIGURATION_FILE
public static final java.lang.String DEFAULT_CONFIGURATION_FILE
- See Also:
- Constant Field Values
DEFAULT_CONFIGURATION_KEY
public static final java.lang.String DEFAULT_CONFIGURATION_KEY
- See Also:
- Constant Field Values
OVERRIDE_DEFAULT_CONFIGURATION_KEY
public static final java.lang.String OVERRIDE_DEFAULT_CONFIGURATION_KEY
- See Also:
- Constant Field Values
configurationPath
public java.lang.String configurationPath
smtpHost
public java.lang.String smtpHost
smtpPort
public java.lang.String smtpPort
smtpDomain
public java.lang.String smtpDomain
Configuration
public Configuration()
- Creates a new Configuration object.
main
public static void main(java.lang.String[] args)
- http://www.artima.com/java/answers/Mar2001/messages/164.html export
CLASSPATH=/home/lenya/src/xps/build/properties:... java
-Doverride.lenya.configuration=org/apache/lenya/altconf.properties org.apache.lenya.net.Configuration
load
public static java.util.Properties load()
- DOCUMENT ME!
getProperties
public void getProperties(java.util.Properties properties)
- DOCUMENT ME!
getProperty
public java.lang.String getProperty(java.util.Properties properties,
java.lang.String key)
- DOCUMENT ME!
register
public static void register()
- DOCUMENT ME!