fable.io
Class ExportDocumentManager

java.lang.Object
  extended by fable.io.ExportDocumentManager

public class ExportDocumentManager
extends java.lang.Object

This class is for generating PDF/RTF document to export. ----- Document consists of... ----- **Title** : title of article **Source** : source of article, the source feed **Subtitle** : subtitle of article **Description** : summary of article **URL** : url link of article **Fable Info** : version information **Time** : the time when this document generated

Author:
Yongjin Kim, Christopher Moh

Field Summary
static java.lang.String PDF_FORM
          Document Form
static java.lang.String RTF_FORM
           
 
Method Summary
static boolean writeDocument(PseudoFeed pseudoFeed, java.lang.String pseudoTitle, java.lang.String fileName, java.lang.String format)
          This method will create a new PDF/RTF file with articles in pseudofeed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PDF_FORM

public static final java.lang.String PDF_FORM
Document Form

See Also:
Constant Field Values

RTF_FORM

public static final java.lang.String RTF_FORM
See Also:
Constant Field Values
Method Detail

writeDocument

public static boolean writeDocument(PseudoFeed pseudoFeed,
                                    java.lang.String pseudoTitle,
                                    java.lang.String fileName,
                                    java.lang.String format)
This method will create a new PDF/RTF file with articles in pseudofeed.

Parameters:
pseudoFeed -
pseudoTitle -
fileName -
format -
Returns:
an outstream of PDF/RTF
Effects:
create a document of PDF or RTF format.