public class BaseBean extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
BaseBean() |
Modifier and Type | Method and Description |
---|---|
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) |
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
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, Object o, Object o2)
protected static String ngettext(String s, String p, int n)
protected void debug(String msg)
protected void warn(Throwable t)