|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpt.tumba.parser.txt.TXT2HTML
public class TXT2HTML
Converts a txt document into HTML
Field Summary | |
---|---|
private int |
sizeCount
|
Constructor Summary | |
---|---|
TXT2HTML()
Creates a new instance of TXT2HTML |
Method Summary | |
---|---|
java.lang.String |
convertTXTToHTML(byte[] array)
Description of the Method |
java.lang.String |
convertTXTToHTML(java.io.File input)
Description of the Method |
java.lang.String |
convertTXTToHTML(java.io.InputStream in)
Description of the Method |
java.lang.String |
convertTXTToHTML(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 |
---|
private int sizeCount
Constructor Detail |
---|
public TXT2HTML()
Method Detail |
---|
public int originalSize()
originalSize
in interface DocFilter
public java.lang.String convertTXTToHTML(byte[] array)
array
- Description of the Parameter
public java.lang.String convertTXTToHTML(java.io.InputStream in) throws java.io.IOException
in
- Description of the Parameter
java.io.IOException
- Description of the Exceptionpublic java.lang.String convertTXTToHTML(java.io.File input) throws java.io.IOException, java.io.FileNotFoundException
input
- Description of the Parameter
java.io.IOException
- Description of the Exception
java.io.FileNotFoundException
- Description of the Exceptionpublic java.lang.String convertTXTToHTML(java.net.URL input) throws java.net.MalformedURLException, java.io.IOException
input
- Description of the Parameter
java.net.MalformedURLException
- Description of the Exception
java.io.IOException
- Description of the Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |