pt.tumba.parser.bib
Class BIB2HTML

java.lang.Object
  extended by pt.tumba.parser.bib.BIB2HTML
All Implemented Interfaces:
DocFilter

public class BIB2HTML
extends java.lang.Object
implements DocFilter

Description of the Class

Author:
bmartins

Field Summary
(package private)  java.lang.String bibData
           
(package private)  java.lang.String perlData
           
private  java.util.Random rnd
           
(package private)  java.io.File scriptfile
           
private  int sizeCount
           
 
Constructor Summary
BIB2HTML()
           
 
Method Summary
 java.lang.String convertBIBToHTML(java.io.File input)
          Description of the Method
 java.lang.String convertBIBToHTML(java.io.InputStream input)
          Description of the Method
 java.lang.String convertBIBToHTML(java.io.Reader input)
          Description of the Method
 java.lang.String convertBIBToHTML(java.lang.String s2)
          Description of the Method
 java.lang.String convertBIBToHTML(java.net.URL input)
          Description of the Method
protected  void finalize()
          Description of the Method
 int originalSize()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scriptfile

java.io.File scriptfile

bibData

java.lang.String bibData

perlData

java.lang.String perlData

rnd

private java.util.Random rnd

sizeCount

private int sizeCount
Constructor Detail

BIB2HTML

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

finalize

protected void finalize()
                 throws java.lang.Throwable
Description of the Method

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable - Description of the Exception

originalSize

public int originalSize()
Description of the Method

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

convertBIBToHTML

public java.lang.String convertBIBToHTML(java.lang.String s2)
                                  throws java.lang.Exception
Description of the Method

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

convertBIBToHTML

public java.lang.String convertBIBToHTML(java.io.Reader 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

convertBIBToHTML

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

convertBIBToHTML

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

convertBIBToHTML

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