pt.tumba.parser.pdf
Class PDF2HTML

java.lang.Object
  extended by pt.tumba.parser.pdf.PDF2HTML
All Implemented Interfaces:
DocFilter

public class PDF2HTML
extends java.lang.Object
implements DocFilter

Description of the Class

Author:
bmartins

Field Summary
private  java.util.Random rnd
           
private  int sizeCount
           
 
Constructor Summary
PDF2HTML()
           
 
Method Summary
 java.lang.String convertPDFToHTML(byte[] b2)
          Description of the Method
 java.lang.String convertPDFToHTML(java.io.File input)
          Description of the Method
 java.lang.String convertPDFToHTML(java.io.InputStream input)
          Description of the Method
 java.lang.String convertPDFToHTML(java.net.URL input)
          Description of the Method
 int originalSize()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rnd

private java.util.Random rnd

sizeCount

private int sizeCount
Constructor Detail

PDF2HTML

public PDF2HTML()
         throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

originalSize

public int originalSize()
Description of the Method

Specified by:
originalSize in interface DocFilter
Returns:
Description of the Return Value

convertPDFToHTML

public java.lang.String convertPDFToHTML(byte[] b2)
                                  throws java.lang.Exception
Description of the Method

Parameters:
b2 - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.lang.Exception - Description of the Exception

convertPDFToHTML

public java.lang.String convertPDFToHTML(java.io.InputStream input)
                                  throws java.lang.Exception
Description of the Method

Parameters:
input - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.lang.Exception - Description of the Exception

convertPDFToHTML

public java.lang.String convertPDFToHTML(java.io.File input)
                                  throws java.lang.Exception
Description of the Method

Parameters:
input - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.lang.Exception - Description of the Exception

convertPDFToHTML

public java.lang.String convertPDFToHTML(java.net.URL input)
                                  throws java.lang.Exception
Description of the Method

Parameters:
input - Description of the Parameter
Returns:
Description of the Return Value
Throws:
java.lang.Exception - Description of the Exception