| Constructor and Description |
|---|
PrintGenerator(PrintInfo info,
String mimeType,
File xsl,
String filename,
String fromName,
String fromMail,
String toMail,
Locale locale) |
| 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 URISyntaxException, IOException
URISyntaxExceptionIOExceptionpublic static void createOutput(PrintInfo info, String mimeType, URL xslUrl, boolean addJavascript, javax.servlet.http.HttpServletResponse response, String filename) throws URISyntaxException, IOException
URISyntaxExceptionIOExceptionpublic static void createOutput(PrintInfo info, String mimeType, InputStream xslIs, String basePath, boolean addJavascript, javax.servlet.http.HttpServletResponse response, String filename) throws URISyntaxException, 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 filenameURISyntaxException - if getting the image failsIOException - if saving the image failspublic static void createOutput(PrintInfo info, String mimeType, InputStream xslIs, String basePath, OutputStream out, String filename) throws URISyntaxException, IOException
URISyntaxExceptionIOExceptionCopyright © 2019. All rights reserved.