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 StringADVANCED_SERVICES(package private) static StringDEFAULT_FAVORITES(package private) static StringDEFAULT_SERVICES(package private) static StringNEWINSTALL_SERVICES(package private) static StringPROP_CONFIG(package private) static StringPROP_FAVORITES(package private) static StringPROP_MONITORING(package private) static StringPROP_OLDHOME(package private) static StringPROP_SEARCH(package private) static StringPROP_SERVICESFields inherited from class net.i2p.router.web.HelperBase
_context, _out, CHECKED, PROP_ADVANCED, SELECTED -
Constructor Summary
Constructors Constructor Description HomeHelper() -
Method Summary
Modifier and Type Method Description (package private) static Collection<App>buildApps(RouterContext ctx, String config)(package private) static Collection<App>buildSearchApps(String config)StringgetConfigFavorites()StringgetConfigHome()StringgetConfigSearch()StringgetConfigServices()StringgetFavorites()StringgetProxyStatus()StringgetServices()booleanisAdvanced()(package private) static voidsaveApps(RouterContext ctx, String prop, Collection<App> apps, boolean full)booleanshouldShowSearch()booleanshouldShowWelcome()Methods inherited from class net.i2p.router.web.HelperBase
_t, _t, _t, _x, getChecked, ngettext, setContextId, storeWriter
-
Field Details
-
PROP_SERVICES
- See Also:
- Constant Field Values
-
PROP_FAVORITES
- See Also:
- Constant Field Values
-
PROP_CONFIG
- See Also:
- Constant Field Values
-
PROP_MONITORING
- See Also:
- Constant Field Values
-
PROP_OLDHOME
- See Also:
- Constant Field Values
-
PROP_SEARCH
- See Also:
- Constant Field Values
-
DEFAULT_SERVICES
- Since:
- 0.9.35
-
NEWINSTALL_SERVICES
-
ADVANCED_SERVICES
-
DEFAULT_FAVORITES
-
-
Constructor Details
-
HomeHelper
public HomeHelper()
-
-
Method Details
-
shouldShowWelcome
public boolean shouldShowWelcome() -
shouldShowSearch
public boolean shouldShowSearch() -
isAdvanced
public boolean isAdvanced()- Overrides:
isAdvancedin classHelperBase
-
getServices
-
getFavorites
-
getConfigServices
-
getConfigFavorites
-
getConfigSearch
-
getConfigHome
-
getProxyStatus
-
buildApps
-
buildSearchApps
-
saveApps
-