public class HttpHelpLoader extends Object implements HelpLoader
Modifier and Type | Class and Description |
---|---|
private class |
HttpHelpLoader.AboutPage |
Modifier and Type | Field and Description |
---|---|
private net.imagej.ImageJ |
ij |
private HashMap<String,String> |
pageIndex |
private int |
port |
private static String |
pre |
private ArrayList<String> |
roots |
private JarHTTPd |
server |
Constructor and Description |
---|
HttpHelpLoader(net.imagej.ImageJ ij) |
Modifier and Type | Method and Description |
---|---|
void |
addRoot(String root)
Add a package for the help server to search when looking for
documentation resources.
|
void |
getHelp() |
void |
getHelp(String pageKey)
Open a documentation page.
|
private void |
start() |
private static final String pre
private JarHTTPd server
private int port
private final net.imagej.ImageJ ij
public void getHelp(String pageKey) throws SlideSetException
getHelp
in interface HelpLoader
pageKey
- The page to open.SlideSetException
public void getHelp() throws SlideSetException
getHelp
in interface HelpLoader
SlideSetException
public void addRoot(String root)
root
- JVM resource path
(ex.: org/nanes/slideset/docs
)private void start() throws SlideSetException
SlideSetException
Copyright © 2023. All rights reserved.