Package net.i2p.router.web.helpers
Class HomeHelper
- java.lang.Object
-
- net.i2p.router.web.HelperBase
-
- net.i2p.router.web.helpers.HomeHelper
-
public class HomeHelper extends HelperBase
For /home and /confighome- Since:
- 0.9
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static String
DEFAULT_CONFIG
(package private) static String
DEFAULT_FAVORITES
(package private) static String
DEFAULT_MONITORING
(package private) static String
DEFAULT_SERVICES
(package private) static String
PROP_CONFIG
(package private) static String
PROP_FAVORITES
(package private) static String
PROP_MONITORING
(package private) static String
PROP_OLDHOME
(package private) static String
PROP_SERVICES
-
Fields inherited from class net.i2p.router.web.HelperBase
_context, _out, CHECKED, PROP_ADVANCED, SELECTED
-
-
Constructor Summary
Constructors Constructor Description HomeHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static Collection<App>
buildApps(RouterContext ctx, String config)
(package private) static Collection<App>
buildSearchApps(String config)
String
getConfig()
String
getConfigConfig()
String
getConfigFavorites()
String
getConfigHome()
String
getConfigMonitoring()
String
getConfigPlugins()
String
getConfigSearch()
String
getConfigServices()
String
getFavorites()
String
getMonitoring()
String
getPlugins()
String
getProxyStatus()
String
getServices()
(package private) static void
saveApps(RouterContext ctx, String prop, Collection<App> apps, boolean full)
boolean
shouldShowSearch()
boolean
shouldShowWelcome()
-
Methods inherited from class net.i2p.router.web.HelperBase
_t, _t, _t, _x, getChecked, isAdvanced, ngettext, setContextId, storeWriter
-
-
-
-
Field Detail
-
PROP_SERVICES
static final String PROP_SERVICES
- See Also:
- Constant Field Values
-
PROP_FAVORITES
static final String PROP_FAVORITES
- See Also:
- Constant Field Values
-
PROP_CONFIG
static final String PROP_CONFIG
- See Also:
- Constant Field Values
-
PROP_MONITORING
static final String PROP_MONITORING
- See Also:
- Constant Field Values
-
PROP_OLDHOME
static final String PROP_OLDHOME
- See Also:
- Constant Field Values
-
DEFAULT_SERVICES
static final String DEFAULT_SERVICES
-
DEFAULT_CONFIG
static final String DEFAULT_CONFIG
- Since:
- 0.9.44
-
DEFAULT_FAVORITES
static final String DEFAULT_FAVORITES
-
DEFAULT_MONITORING
static final String DEFAULT_MONITORING
- Since:
- 0.9.44
-
-
Method Detail
-
shouldShowWelcome
public boolean shouldShowWelcome()
-
shouldShowSearch
public boolean shouldShowSearch()
-
getServices
public String getServices()
-
getPlugins
public String getPlugins()
- Since:
- 0.9.47
-
getConfig
public String getConfig()
- Since:
- 0.9.44
-
getMonitoring
public String getMonitoring()
- Since:
- 0.9.44
-
getFavorites
public String getFavorites()
-
getConfigServices
public String getConfigServices()
-
getConfigPlugins
public String getConfigPlugins()
- Since:
- 0.9.47
-
getConfigConfig
public String getConfigConfig()
- Since:
- 0.9.44
-
getConfigMonitoring
public String getConfigMonitoring()
- Since:
- 0.9.44
-
getConfigFavorites
public String getConfigFavorites()
-
getConfigSearch
public String getConfigSearch()
-
getConfigHome
public String getConfigHome()
-
getProxyStatus
public String getProxyStatus()
-
buildApps
static Collection<App> buildApps(RouterContext ctx, String config)
-
buildSearchApps
static Collection<App> buildSearchApps(String config)
-
saveApps
static void saveApps(RouterContext ctx, String prop, Collection<App> apps, boolean full)
-
-