|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecti2p.susi.dns.BaseBean
public class BaseBean
Holds methods common to several Beans.
Field Summary | |
---|---|
protected I2PAppContext |
_context
|
protected String |
action
|
static String |
BASE_THEME_PATH
|
static String |
DEFAULT_THEME
|
protected String |
lastSerial
|
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
|
protected String |
serial
|
Constructor Summary | |
---|---|
BaseBean()
|
Method Summary | |
---|---|
protected static String |
_t(String s)
Translate |
protected static String |
_t(String s,
Object o)
Translate |
protected static String |
_t(String s,
Object o,
Object o2)
Translate |
protected File |
addressbookDir()
|
protected File |
configFile()
|
protected void |
debug(String msg)
|
String |
getAction()
|
String |
getSerial()
|
String |
getTheme()
Returns the theme path |
String[] |
getThemes()
Get all themes |
protected void |
loadConfig()
|
protected static String |
ngettext(String s,
String p,
int n)
Translate (ngettext) |
protected void |
reload()
|
void |
setAction(String action)
|
void |
setSerial(String serial)
|
protected void |
warn(Throwable t)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final I2PAppContext _context
protected final Properties properties
protected String action
protected String lastSerial
protected String serial
public static final String RC_PROP_THEME_NAME
public static final String RC_PROP_UNIVERSAL_THEMING
public static final String PROP_THEME_NAME
public static final String DEFAULT_THEME
public static final String BASE_THEME_PATH
public static final String PROP_PW_ENABLE
Constructor Detail |
---|
public BaseBean()
Method Detail |
---|
protected File addressbookDir()
protected File configFile()
protected void loadConfig()
protected void reload()
public String getTheme()
public String[] getThemes()
public String getAction()
public void setAction(String action)
public String getSerial()
public void setSerial(String serial)
protected static String _t(String s)
protected static String _t(String s, Object o)
protected static String _t(String s, Object o, Object o2)
protected static String ngettext(String s, String p, int n)
protected void debug(String msg)
protected void warn(Throwable t)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |