com.etymon.pj.samples
Class TextToPdf

java.lang.Object
  |
  +--com.etymon.pj.samples.TextToPdf

public class TextToPdf
extends java.lang.Object

Converts a text file into a PDF file using PjScript.


Constructor Summary
TextToPdf()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextToPdf

public TextToPdf()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Parameters:
filename - the name of the text file to read.
string - the name of the PDF file to output (optional); if not specified, ".pdf" is appended to the input filename for output.
Throws:
java.io.IOException - if a file error occurs.