i2p.susi.dns
Class BaseBean

java.lang.Object
  extended by i2p.susi.dns.BaseBean
Direct Known Subclasses:
AddressbookBean, SubscriptionsBean

public class BaseBean
extends Object

Holds methods common to several Beans.

Since:
0.9.1

Field Summary
protected  I2PAppContext _context
           
static String BASE_THEME_PATH
           
static String DEFAULT_THEME
           
static String PROP_PW_ENABLE
           
static String PROP_THEME_NAME
           
protected  Properties properties
           
static String RC_PROP_THEME_NAME
           
static String RC_PROP_UNIVERSAL_THEMING
           
 
Constructor Summary
BaseBean()
           
 
Method Summary
 String getTheme()
          Returns the theme path
 String[] getThemes()
          Get all themes
protected  void loadConfig()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_context

protected final I2PAppContext _context

properties

protected final Properties properties

RC_PROP_THEME_NAME

public static final String RC_PROP_THEME_NAME
See Also:
Constant Field Values

RC_PROP_UNIVERSAL_THEMING

public static final String RC_PROP_UNIVERSAL_THEMING
See Also:
Constant Field Values

PROP_THEME_NAME

public static final String PROP_THEME_NAME
See Also:
Constant Field Values

DEFAULT_THEME

public static final String DEFAULT_THEME
See Also:
Constant Field Values

BASE_THEME_PATH

public static final String BASE_THEME_PATH
See Also:
Constant Field Values

PROP_PW_ENABLE

public static final String PROP_PW_ENABLE
See Also:
Constant Field Values
Constructor Detail

BaseBean

public BaseBean()
Method Detail

loadConfig

protected void loadConfig()

getTheme

public String getTheme()
Returns the theme path

Since:
0.9.1

getThemes

public String[] getThemes()
Get all themes

Returns:
String[] -- Array of all the themes found.
Since:
0.9.2