public class PrintGenerator extends Object
| 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(PrintInfoList info,
String mimeType,
File xslFile,
boolean addJavascript,
javax.servlet.http.HttpServletResponse response,
String filename) |
static void |
createOutput(PrintInfoList info,
String mimeType,
InputStream xslIs,
String basePath,
boolean addJavascript,
javax.servlet.http.HttpServletResponse response,
String filename)
Create the output pdf.
|
static void |
createOutput(PrintInfoList info,
String mimeType,
InputStream xslIs,
String basePath,
OutputStream out,
String filename) |
static void |
createOutput(PrintInfoList info,
String mimeType,
URL xslUrl,
boolean addJavascript,
javax.servlet.http.HttpServletResponse response,
String filename) |
public static void createOutput(PrintInfoList info, String mimeType, File xslFile, boolean addJavascript, javax.servlet.http.HttpServletResponse response, String filename) throws MalformedURLException, IOException
MalformedURLExceptionIOExceptionpublic static void createOutput(PrintInfoList info, String mimeType, URL xslUrl, boolean addJavascript, javax.servlet.http.HttpServletResponse response, String filename) throws MalformedURLException, IOException
MalformedURLExceptionIOExceptionpublic static void createOutput(PrintInfoList 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 - Filename to createMalformedURLException - Wrong urlIOException - Some IO problemspublic static void createOutput(PrintInfoList info, String mimeType, InputStream xslIs, String basePath, OutputStream out, String filename) throws MalformedURLException, IOException
MalformedURLExceptionIOExceptionCopyright © 2018. All rights reserved.