Package sk.iway.iwcm.admin
Class DocumentationTools
java.lang.Object
sk.iway.iwcm.admin.DocumentationTools
Resolves the documentation server shared by administration navigation and help links.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the protocol, host and port from the full URL configured in adminDocumentationSearchUrl.static StringnormalizeLanguage(String language) Maps administration languages to the available documentation translations.
-
Method Details
-
getBaseUrl
Returns the protocol, host and port from the full URL configured in adminDocumentationSearchUrl.- Returns:
- configured server URL without the search endpoint path
-
normalizeLanguage
Maps administration languages to the available documentation translations.- Parameters:
language- administration language code- Returns:
- sk, cs or en; unsupported or missing languages use English
-