Package org.ametys.plugins.mobileapp
Class SiteHelper
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.mobileapp.SiteHelper
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
Helper to get the site from an URL
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSiteByUrl
(String url) Get the site from an URLvoid
service
(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
Avalon Role
-
-
Constructor Details
-
SiteHelper
public SiteHelper()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
getSiteByUrl
Get the site from an URL- Parameters:
url
- the url- Returns:
- the site as a String
-