com.java4less.rfax
Class HtmlFaxProducer

java.lang.Object
  extended by com.java4less.rfax.HtmlFaxProducer
All Implemented Interfaces:
FaxProducer

public class HtmlFaxProducer
extends java.lang.Object
implements FaxProducer

creates a fax using HTML as data source. This class uses the JEditorPane for html rendering so you will need to have Swing installed. See RFax_help.html for an example.


Field Summary
 java.awt.Image pageImage
          image
 java.lang.String[] text
          html to be sent, each string in the array will be sent as a separate page
 
Constructor Summary
HtmlFaxProducer()
           
 
Method Summary
 java.awt.Image getFaxPage(int page)
          get page, faxProducer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

public java.lang.String[] text
html to be sent, each string in the array will be sent as a separate page


pageImage

public java.awt.Image pageImage
image

Constructor Detail

HtmlFaxProducer

public HtmlFaxProducer()
Method Detail

getFaxPage

public java.awt.Image getFaxPage(int page)
get page, faxProducer

Specified by:
getFaxPage in interface FaxProducer