|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.pdf.HtmlParser
public final class HtmlParser
Effettua il parsing di una stringa in html e genera un file pdf. Utilizza la libreria itext per la creazione del pdf. Il file html dovrà avere una struttura "semplice"; i tag che possono essere elaborati sono i seguenti:
String html = "...";
com.lowagie.text.Document document = new com.lowagie.text.Document();
HtmlParser parser = new HtmlParser();
parser.doIt(document, html);
Constructor Summary | |
---|---|
HtmlParser()
|
Method Summary | |
---|---|
void |
doIt(com.lowagie.text.Document document,
java.lang.String html)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HtmlParser()
Method Detail |
---|
public void doIt(com.lowagie.text.Document document, java.lang.String html) throws JFWGenericException
JFWGenericException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |