| Constructor and Description |
|---|
PrintGenerator(PrintInfo info,
String mimeType,
File xsl,
String filename,
String fromName,
String fromMail,
String toMail) |
| Modifier and Type | Method and Description |
|---|---|
static void |
createOutput(PrintInfo info,
String mimeType,
File xslFile,
boolean addJavascript,
javax.servlet.http.HttpServletResponse response,
String filename) |
static void |
createOutput(PrintInfo info,
String mimeType,
InputStream xslIs,
String basePath,
boolean addJavascript,
javax.servlet.http.HttpServletResponse response,
String filename)
Create the output pdf.
|
static void |
createOutput(PrintInfo info,
String mimeType,
InputStream xslIs,
String basePath,
OutputStream out,
String filename) |
static void |
createOutput(PrintInfo info,
String mimeType,
URL xslUrl,
boolean addJavascript,
javax.servlet.http.HttpServletResponse response,
String filename) |
void |
mailPrint() |
void |
run() |
public static void createOutput(PrintInfo info, String mimeType, File xslFile, boolean addJavascript, javax.servlet.http.HttpServletResponse response, String filename) throws MalformedURLException, IOException
MalformedURLExceptionIOExceptionpublic static void createOutput(PrintInfo info, String mimeType, URL xslUrl, boolean addJavascript, javax.servlet.http.HttpServletResponse response, String filename) throws MalformedURLException, IOException
MalformedURLExceptionIOExceptionpublic static void createOutput(PrintInfo info, String mimeType, InputStream xslIs, String basePath, boolean addJavascript, javax.servlet.http.HttpServletResponse response, String filename) throws MalformedURLException, IOException
info - the print infomimeType - mimeType of the resultxslIs - inputstream for xsl sheetbasePath - the base path of that sheetaddJavascript - addJavascript?response - the response for the outputstreamfilename - output filenameMalformedURLException - if getting th eimage failsIOException - if saving the image failspublic static void createOutput(PrintInfo info, String mimeType, InputStream xslIs, String basePath, OutputStream out, String filename) throws MalformedURLException, IOException
MalformedURLExceptionIOExceptionCopyright © 2016. All rights reserved.