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...

Inheritance diagram for org.ccnx.ccn.utils.explorer.HTMLPaneContentRetriever:

List of all members.

Public Member Functions

 HTMLPaneContentRetriever (CCNHandle h, JEditorPane p, String n)
 Constructor for the HTMLPaneContentRetriever.
void setTextPopup (boolean b)
void setFileName (String n)
 Set method for the ContentObject to download.
void setHTMLPane (JEditorPane pane)
 Set method for the preview pane used for status messages.
void setCCNHandle (CCNHandle h)
 Set method for the CCNHandle.
void run ()
 Run method for the thread that will be used to download the content.


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.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

void org.ccnx.ccn.utils.explorer.HTMLPaneContentRetriever.setCCNHandle ( CCNHandle  h  ) 

Set method for the CCNHandle.

Parameters:
h CCNHandle used to retrieve the content
Returns:
void

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


The documentation for this class was generated from the following file:

Generated on Thu Feb 16 00:45:12 2012 for Content-Centric Networking in Java by  doxygen 1.5.6