com.ibm.xsp.model.domino
Class DominoUtils.HtmlConverterWrapper

java.lang.Object
  extended by com.ibm.xsp.model.domino.DominoUtils.HtmlConverterWrapper
Enclosing class:
DominoUtils

public static class DominoUtils.HtmlConverterWrapper
extends java.lang.Object

Simple wrapper for HtmlConverter.


Field Summary
static java.lang.String ERR_HTMLCONVERSION
           
 
Constructor Summary
DominoUtils.HtmlConverterWrapper()
          Initialize the converter.
 
Method Summary
 void convertItem(lotus.domino.Document document, java.lang.String itemName)
          Convert a Notes item to HTML.
protected  void finalize()
           
 java.lang.String getConverterText()
          Get the HTML text from the converted Notes item.
 java.util.Vector<java.lang.String> getReferneceUrls()
          Get the HTML text from the converted Notes item.
 void recycle()
          Return converter resources.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERR_HTMLCONVERSION

public static final java.lang.String ERR_HTMLCONVERSION
See Also:
Constant Field Values
Constructor Detail

DominoUtils.HtmlConverterWrapper

public DominoUtils.HtmlConverterWrapper()
                                 throws lotus.domino.NotesException
Initialize the converter.

Throws:
lotus.domino.NotesException
Method Detail

recycle

public void recycle()
Return converter resources.


finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

convertItem

public void convertItem(lotus.domino.Document document,
                        java.lang.String itemName)
                 throws lotus.domino.NotesException
Convert a Notes item to HTML.

Parameters:
document -
itemName -
Throws:
lotus.domino.NotesException

getConverterText

public java.lang.String getConverterText()
                                  throws lotus.domino.NotesException
Get the HTML text from the converted Notes item.

Returns:
null or the html as a string
Throws:
lotus.domino.NotesException

getReferneceUrls

public java.util.Vector<java.lang.String> getReferneceUrls()
Get the HTML text from the converted Notes item.

Returns:
vector of strings that reference the attachments for this item
Throws:
lotus.domino.NotesException