This project has retired. For details please refer to its
Attic page .
PortalConfigurationImpl (Jetspeed-2 Portal Components 2.1.3 API)
org.apache.jetspeed.administration
Class PortalConfigurationImpl
java.lang.Object
org.apache.jetspeed.administration.PortalConfigurationImpl
All Implemented Interfaces: org.apache.jetspeed.administration.PortalConfiguration
public class PortalConfigurationImpl extends Object implements org.apache.jetspeed.administration.PortalConfiguration
Portal Configuration
Retrieve basic data types from the jetspeed.properties configuration
This is a subset of Commons Configuration functionality
Not the best solution wrappering commons configuration, but it does continue
with the requirements of interface-driven development and zero dependencies in API
Version:
$Id: $
Author:
David Sean Taylor
Field Summary
(package private) org.apache.commons.configuration.Configuration
configuration
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
configuration
org.apache.commons.configuration.Configuration configuration
PortalConfigurationImpl
public PortalConfigurationImpl (org.apache.commons.configuration.Configuration configuration)
getBoolean
public boolean getBoolean (String key,
boolean defaultValue)
Specified by: getBoolean
in interface org.apache.jetspeed.administration.PortalConfiguration
getBoolean
public boolean getBoolean (String key)
Specified by: getBoolean
in interface org.apache.jetspeed.administration.PortalConfiguration
getDouble
public double getDouble (String key,
double defaultValue)
Specified by: getDouble
in interface org.apache.jetspeed.administration.PortalConfiguration
getDouble
public double getDouble (String key)
Specified by: getDouble
in interface org.apache.jetspeed.administration.PortalConfiguration
getFloat
public float getFloat (String key,
float defaultValue)
Specified by: getFloat
in interface org.apache.jetspeed.administration.PortalConfiguration
getFloat
public float getFloat (String key)
Specified by: getFloat
in interface org.apache.jetspeed.administration.PortalConfiguration
getInt
public int getInt (String key,
int defaultValue)
Specified by: getInt
in interface org.apache.jetspeed.administration.PortalConfiguration
getInt
public int getInt (String key)
Specified by: getInt
in interface org.apache.jetspeed.administration.PortalConfiguration
getList
public List getList (String key)
Specified by: getList
in interface org.apache.jetspeed.administration.PortalConfiguration
getLong
public long getLong (String key,
long defaultValue)
Specified by: getLong
in interface org.apache.jetspeed.administration.PortalConfiguration
getLong
public long getLong (String key)
Specified by: getLong
in interface org.apache.jetspeed.administration.PortalConfiguration
getString
public String getString (String key,
String defaultValue)
Specified by: getString
in interface org.apache.jetspeed.administration.PortalConfiguration
getString
public String getString (String key)
Specified by: getString
in interface org.apache.jetspeed.administration.PortalConfiguration
getStringArray
public String [] getStringArray (String key)
Specified by: getStringArray
in interface org.apache.jetspeed.administration.PortalConfiguration
getKeys
public Iterator getKeys ()
Specified by: getKeys
in interface org.apache.jetspeed.administration.PortalConfiguration
setString
public void setString (String key,
String value)
Specified by: setString
in interface org.apache.jetspeed.administration.PortalConfiguration
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.