org.apache.jetspeed.administration
Interface PortalConfiguration


public interface 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

Since:
2.1.2
Version:
$Id: $
Author:
David Sean Taylor

Method Summary
 boolean getBoolean(String key)
           
 boolean getBoolean(String key, boolean defaultValue)
           
 double getDouble(String key)
           
 double getDouble(String key, double defaultValue)
           
 float getFloat(String key)
           
 float getFloat(String key, float defaultValue)
           
 int getInt(String key)
           
 int getInt(String key, int defaultValue)
           
 Iterator getKeys()
           
 List getList(String key)
           
 long getLong(String key)
           
 long getLong(String key, long defaultValue)
           
 String getString(String key)
           
 String getString(String key, String defaultValue)
           
 String[] getStringArray(String key)
           
 void setString(String key, String value)
           
 

Method Detail

getBoolean

boolean getBoolean(String key)

getBoolean

boolean getBoolean(String key,
                   boolean defaultValue)

getString

String getString(String key)

getString

String getString(String key,
                 String defaultValue)

getDouble

double getDouble(String key)

getDouble

double getDouble(String key,
                 double defaultValue)

getFloat

float getFloat(String key)

getFloat

float getFloat(String key,
               float defaultValue)

getInt

int getInt(String key)

getInt

int getInt(String key,
           int defaultValue)

getList

List getList(String key)

getLong

long getLong(String key)

getLong

long getLong(String key,
             long defaultValue)

getStringArray

String[] getStringArray(String key)

getKeys

Iterator getKeys()

setString

void setString(String key,
               String value)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.