|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.tumba.parser.rtf.RTF2HTML
public class RTF2HTML
Description of the Class
| Nested Class Summary | |
|---|---|
private class |
RTF2HTML.HTMLStateMachine
Description of the Class |
| Field Summary | |
|---|---|
private int |
sizeCount
|
| Constructor Summary | |
|---|---|
RTF2HTML()
Constructor for the RTF2HTML object |
|
| Method Summary | |
|---|---|
java.lang.String |
convertRTFStringToHTML(java.lang.String s)
Description of the Method |
private java.lang.String |
convertRTFStringToHTML(java.lang.String s2,
RTF2HTML.HTMLStateMachine htmlstatemachine)
Description of the Method |
java.lang.String |
convertRTFToHTML(java.io.File input)
Description of the Method |
java.lang.String |
convertRTFToHTML(java.io.InputStream input)
Description of the Method |
java.lang.String |
convertRTFToHTML(java.io.Reader input)
Description of the Method |
java.lang.String |
convertRTFToHTML(java.lang.String s4)
Description of the Method |
java.lang.String |
convertRTFToHTML(java.net.URL input)
Description of the Method |
int |
originalSize()
Description of the Method |
java.io.InputStream |
parse(java.io.File in)
Description of the Method |
java.io.InputStream |
parse(java.io.InputStream in)
Arguments are: 0. |
java.io.InputStream |
parse(java.net.URL in)
Description of the Method |
private void |
readString(java.lang.String s,
javax.swing.text.Document document,
javax.swing.text.rtf.RTFEditorKit rtfeditorkit)
Description of the Method |
private void |
recurseElements(javax.swing.text.Element element,
javax.swing.text.Document document,
java.lang.StringBuffer stringbuffer,
RTF2HTML.HTMLStateMachine htmlstatemachine)
Description of the Method |
private void |
scanAttributes(javax.swing.text.Element element,
javax.swing.text.Document document,
java.lang.StringBuffer stringbuffer,
RTF2HTML.HTMLStateMachine htmlstatemachine)
Description of the Method |
private java.lang.String |
scanDocument(javax.swing.text.Document document,
RTF2HTML.HTMLStateMachine htmlstatemachine)
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 RTF2HTML()
| Method Detail |
|---|
public int originalSize()
originalSize in interface DocFilterpublic java.lang.String convertRTFToHTML(java.lang.String s4)
s2 - Description of the Parameter
public java.lang.String convertRTFToHTML(java.io.Reader input)
throws java.io.IOException
input - Description of the Parameter
java.io.IOException - Description of the Exception
public java.lang.String convertRTFToHTML(java.io.InputStream input)
throws java.io.IOException
input - Description of the Parameter
java.io.IOException - Description of the Exception
public java.lang.String convertRTFToHTML(java.io.File input)
throws java.io.IOException
input - Description of the Parameter
java.io.IOException - Description of the Exception
public java.lang.String convertRTFToHTML(java.net.URL input)
throws java.io.IOException
input - Description of the Parameter
java.io.IOException - Description of the Exceptionpublic java.lang.String convertRTFStringToHTML(java.lang.String s)
s - Description of the Parameter
private java.lang.String convertRTFStringToHTML(java.lang.String s2,
RTF2HTML.HTMLStateMachine htmlstatemachine)
s - Description of the Parameterhtmlstatemachine - Description of the Parameter
private void readString(java.lang.String s,
javax.swing.text.Document document,
javax.swing.text.rtf.RTFEditorKit rtfeditorkit)
s - Description of the Parameterdocument - Description of the Parameterrtfeditorkit - Description of the Parameter
private java.lang.String scanDocument(javax.swing.text.Document document,
RTF2HTML.HTMLStateMachine htmlstatemachine)
document - Description of the Parameterhtmlstatemachine - Description of the Parameter
private void recurseElements(javax.swing.text.Element element,
javax.swing.text.Document document,
java.lang.StringBuffer stringbuffer,
RTF2HTML.HTMLStateMachine htmlstatemachine)
element - Description of the Parameterdocument - Description of the Parameterstringbuffer - Description of the Parameterhtmlstatemachine - Description of the Parameter
private void scanAttributes(javax.swing.text.Element element,
javax.swing.text.Document document,
java.lang.StringBuffer stringbuffer,
RTF2HTML.HTMLStateMachine htmlstatemachine)
element - Description of the Parameterdocument - Description of the Parameterstringbuffer - Description of the Parameterhtmlstatemachine - Description of the Parameter
public java.io.InputStream parse(java.io.File in)
throws java.lang.Exception
in - Description of the Parameter
java.lang.Exception - Description of the Exception
public java.io.InputStream parse(java.net.URL in)
throws java.lang.Exception
in - Description of the Parameter
java.lang.Exception - Description of the Exception
public java.io.InputStream parse(java.io.InputStream in)
throws java.lang.Exception
in - Description of the Parameter
java.lang.Exception - Description of the Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||