com.mebigfatguy.tomailer
Class ToMailerDelegate

java.lang.Object
  extended by com.mebigfatguy.tomailer.ToMailerDelegate

public class ToMailerDelegate
extends java.lang.Object

the main processer for converting web pages to email pages


Constructor Summary
ToMailerDelegate(java.io.InputStream is, java.lang.String url)
          constructs the delegate and orchestrates the conversion of the page
 
Method Summary
 byte[] getMailer()
          get the generated email version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToMailerDelegate

public ToMailerDelegate(java.io.InputStream is,
                        java.lang.String url)
                 throws ToMailerException
constructs the delegate and orchestrates the conversion of the page

Parameters:
is - the stream that represents the web page
url - the base url to use for relative links
Throws:
ToMailerException - if conversion fails
Method Detail

getMailer

public byte[] getMailer()
get the generated email version

Returns:
an array of bytes that represents the page


Copyright © 2009 MeBigFatGuy.com. All Rights Reserved.