pt.tumba.parser.doc
Class DOC2HTML

java.lang.Object
  extended by pt.tumba.parser.doc.DOC2HTML
All Implemented Interfaces:
DocFilter

public class DOC2HTML
extends java.lang.Object
implements DocFilter

uses the api to present the contents excel 97 spreadsheet as an html file

Author:
unknown

Field Summary
private  java.util.Random rnd
           
private  int sizeCount
           
 
Constructor Summary
DOC2HTML()
           
 
Method Summary
 java.lang.String convertDOCToHTML(byte[] b2)
          Description of the Method
 java.lang.String convertDOCToHTML(java.io.File input)
          Description of the Method
 java.lang.String convertDOCToHTML(java.io.InputStream input)
          Description of the Method
 java.lang.String convertDOCToHTML(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

DOC2HTML

public DOC2HTML()
         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

convertDOCToHTML

public java.lang.String convertDOCToHTML(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

convertDOCToHTML

public java.lang.String convertDOCToHTML(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

convertDOCToHTML

public java.lang.String convertDOCToHTML(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

convertDOCToHTML

public java.lang.String convertDOCToHTML(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