Package thredds.server.viewer
Interface ViewerLinkProvider
- All Superinterfaces:
Viewer
Interface for plugging in Viewers.
Generally, these are implemented with jnlp files in /content/thredds/view/views/*.jnlp
You can customizing by adding parameters to the jnlp file, eg
parm=subst&name=value.
Then all instances of "{param}" will be replaced by subst, and
all instances of "{name}" will be replaced by value, etc.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetViewerLinks(thredds.client.catalog.Dataset ds, jakarta.servlet.http.HttpServletRequest req) Get an HTML fragment link to the viewer JNLP file, for this dataset.Methods inherited from interface thredds.server.viewer.Viewer
getViewerLink, getViewerLinkHtml, isViewable
-
Method Details
-
getViewerLinks
List<ViewerLinkProvider.ViewerLink> getViewerLinks(thredds.client.catalog.Dataset ds, jakarta.servlet.http.HttpServletRequest req) Get an HTML fragment link to the viewer JNLP file, for this dataset. Example: return "Integrated Data Viewer (IDV) (webstart)";- Parameters:
ds- the dataset to viewreq- the request- Returns:
- HTML fragment string
-