pt.tumba.parser.xls
Class XLS2HTML

java.lang.Object
  extended by pt.tumba.parser.xls.XLS2HTML
All Implemented Interfaces:
DocFilter

public class XLS2HTML
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
XLS2HTML()
           
 
Method Summary
 java.lang.String convertXLSToHTML(byte[] b2)
          Description of the Method
 java.lang.String convertXLSToHTML(java.io.File input)
          Description of the Method
 java.lang.String convertXLSToHTML(java.io.InputStream input)
          Description of the Method
 java.lang.String convertXLSToHTML(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

sizeCount

private int sizeCount

rnd

private java.util.Random rnd
Constructor Detail

XLS2HTML

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

convertXLSToHTML

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

convertXLSToHTML

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

convertXLSToHTML

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

convertXLSToHTML

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