Example usage for Java org.jfree.chart.servlet ServletUtilities fields, constructors, methods, implement or subclass
The text is from its open source code.
void | createTempDir() Creates the temporary directory if it does not exist. |
String | getTempOneTimeFilePrefix() Returns the prefix for "one time" temporary file names generated by this class. |
String | saveChartAsJPEG(JFreeChart chart, int width, int height, ChartRenderingInfo info, HttpSession session) Saves the chart as a JPEG format file in the temporary directory and populates the ChartRenderingInfo object which can be used to generate an HTML image map. |
String | saveChartAsPNG(JFreeChart chart, int width, int height, ChartRenderingInfo info, HttpSession session) Saves the chart as a PNG format file in the temporary directory and populates the ChartRenderingInfo object which can be used to generate an HTML image map. |
String | saveChartAsPNG(JFreeChart chart, int width, int height, HttpSession session) Saves the chart as a PNG format file in the temporary directory. |
String | searchReplace(String inputString, String searchString, String replaceString) Perform a search/replace operation on a String There are String methods to do this since (JDK 1.4) |
void | sendTempFile(String filename, HttpServletResponse response) Binary streams the specified file in the temporary directory to the HTTP response in 1KB chunks. |
void | sendTempFile(File file, HttpServletResponse response) Binary streams the specified file to the HTTP response in 1KB chunks. |
void | setTempFilePrefix(String prefix) Sets the prefix for the temporary file names generated by this class. |