org.ccnx.ccn.utils.explorer.HTMLPaneContentRetriever Class Reference
Class used by the ContentExplorer to retrieve content and display .txt and .text files in the GUI preview pane.
More...
List of all members.
Detailed Description
Class used by the ContentExplorer to retrieve content and display .txt and .text files in the GUI preview pane.
This will be updated in a future release to handle more content types.
Constructor & Destructor Documentation
org.ccnx.ccn.utils.explorer.HTMLPaneContentRetriever.HTMLPaneContentRetriever |
( |
CCNHandle |
h, |
|
|
JEditorPane |
p, |
|
|
String |
n | |
|
) |
| | |
Constructor for the HTMLPaneContentRetriever.
- Parameters:
-
| h | CCNHandle to use for downloading the content |
| p | JEditorPane to use for status messages |
| n | String representation of the content object name to download |
Member Function Documentation
void org.ccnx.ccn.utils.explorer.HTMLPaneContentRetriever.run |
( |
|
) |
|
Run method for the thread that will be used to download the content.
As bytes for the object are retrieved, they will be displayed in the preview pane.
- Returns:
- void
- See also:
- CCNFileInputStream
void org.ccnx.ccn.utils.explorer.HTMLPaneContentRetriever.setCCNHandle |
( |
CCNHandle |
h |
) |
|
Set method for the CCNHandle.
- Parameters:
-
- Returns:
- void
void org.ccnx.ccn.utils.explorer.HTMLPaneContentRetriever.setFileName |
( |
String |
n |
) |
|
Set method for the ContentObject to download.
- Parameters:
-
| n | String representation of the content |
- Returns:
- void
void org.ccnx.ccn.utils.explorer.HTMLPaneContentRetriever.setHTMLPane |
( |
JEditorPane |
pane |
) |
|
Set method for the preview pane used for status messages.
- Parameters:
-
| pane | JEditorPane used for status updates |
- Returns:
- void
The documentation for this class was generated from the following file:
- src/org/ccnx/ccn/utils/explorer/HTMLPaneContentRetriever.java