Polish Javadoc for abstract XLSX views
This commit is contained in:
@@ -28,8 +28,8 @@ import org.apache.poi.xssf.streaming.SXSSFWorkbook;
|
|||||||
* Convenient superclass for Excel document views in the Office 2007 XLSX format,
|
* Convenient superclass for Excel document views in the Office 2007 XLSX format,
|
||||||
* using POI's streaming variant. Compatible with Apache POI 3.9 and higher.
|
* using POI's streaming variant. Compatible with Apache POI 3.9 and higher.
|
||||||
*
|
*
|
||||||
* <p>For working with the workbook in the subclass, see
|
* <p>For working with the workbook in subclasses, see
|
||||||
* <a href="http://poi.apache.org">Apache's POI site</a>
|
* <a href="http://poi.apache.org">Apache's POI site</a>.
|
||||||
*
|
*
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
* @since 4.2
|
* @since 4.2
|
||||||
@@ -45,14 +45,14 @@ public abstract class AbstractXlsxStreamingView extends AbstractXlsxView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This implementation disposes the {@link SXSSFWorkbook} when done with rendering.
|
* This implementation disposes of the {@link SXSSFWorkbook} when done with rendering.
|
||||||
* @see org.apache.poi.xssf.streaming.SXSSFWorkbook#dispose()
|
* @see org.apache.poi.xssf.streaming.SXSSFWorkbook#dispose()
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
protected void renderWorkbook(Workbook workbook, HttpServletResponse response) throws IOException {
|
protected void renderWorkbook(Workbook workbook, HttpServletResponse response) throws IOException {
|
||||||
super.renderWorkbook(workbook, response);
|
super.renderWorkbook(workbook, response);
|
||||||
|
|
||||||
// Dispose temporary files in case of streaming variant...
|
// Dispose of temporary files in case of streaming variant...
|
||||||
((SXSSFWorkbook) workbook).dispose();
|
((SXSSFWorkbook) workbook).dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,8 +26,8 @@ import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
|||||||
* Convenient superclass for Excel document views in the Office 2007 XLSX format
|
* Convenient superclass for Excel document views in the Office 2007 XLSX format
|
||||||
* (as supported by POI-OOXML). Compatible with Apache POI 3.5 and higher.
|
* (as supported by POI-OOXML). Compatible with Apache POI 3.5 and higher.
|
||||||
*
|
*
|
||||||
* <p>For working with the workbook in the subclass, see
|
* <p>For working with the workbook in subclasses, see
|
||||||
* <a href="http://poi.apache.org">Apache's POI site</a>
|
* <a href="http://poi.apache.org">Apache's POI site</a>.
|
||||||
*
|
*
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
* @since 4.2
|
* @since 4.2
|
||||||
@@ -36,8 +36,8 @@ public abstract class AbstractXlsxView extends AbstractXlsView {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Default Constructor.
|
* Default Constructor.
|
||||||
* Sets the content type of the view to
|
* <p>Sets the content type of the view to
|
||||||
* "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet".
|
* {@code "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}.
|
||||||
*/
|
*/
|
||||||
public AbstractXlsxView() {
|
public AbstractXlsxView() {
|
||||||
setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
|
||||||
|
|||||||
Reference in New Issue
Block a user