|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.HttpPrinter
public class HttpPrinter
This class can be used by an applet to obtain a PDFPrinter to print a report. The report is sent to the web server where the applet is originated. The report can be displayed by obtaining the PDF file URL from this handler.
HttpPrinter handler = new HttpPrinter(getDocumentBase(),
"/servlet/PDFServlet");
report.print(handler.getPrintJob());
getAppletContext().showDocument(handler.getURL());
| Constructor Summary | |
|---|---|
HttpPrinter(String spec)
Create a handler from an URL string. |
|
HttpPrinter(URL context,
String spec)
Create a handler from an URL string. |
|
| Method Summary | |
|---|---|
PDFPrinter |
getPrinter()
Get the PDFPrinter object that actually generates the report output. |
PrintJob |
getPrintJob()
Get the PDFPrinter object to print to the remove server. |
URL |
getURL()
Get the URL of the PDF output. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpPrinter(String spec)
throws IOException
spec - URL to the PDF servlet or cgi.
IOException
public HttpPrinter(URL context,
String spec)
throws IOException
context - applet context.spec - URL to the PDF servlet or cgi.
IOException| Method Detail |
|---|
public PrintJob getPrintJob()
throws IOException
IOException
public PDFPrinter getPrinter()
throws IOException
IOExceptionpublic URL getURL()
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||