KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > displaytag > export > BinaryExportView


1 /**
2  * Licensed under the Artistic License; you may not use this file
3  * except in compliance with the License.
4  * You may obtain a copy of the License at
5  *
6  * http://displaytag.sourceforge.net/license.html
7  *
8  * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
9  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
10  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
11  */

12 package org.displaytag.export;
13
14 import java.io.IOException JavaDoc;
15 import java.io.OutputStream JavaDoc;
16
17 import javax.servlet.jsp.JspException JavaDoc;
18
19
20 /**
21  * Main interface for exportViews which need to output binary data.
22  * @author Fabrizio Giustina
23  * @version $Revision: 720 $ ($Author: fgiust $)
24  */

25 public interface BinaryExportView extends ExportView
26 {
27
28     /**
29      * Returns the exported content as a String.
30      * @param out output writer
31      * @throws IOException for exceptions in accessing the output stream
32      * @throws JspException for other exceptions during export
33      */

34     void doExport(OutputStream JavaDoc out) throws IOException JavaDoc, JspException JavaDoc;
35 }
36
Popular Tags