diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractJExcelView.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractJExcelView.java index 2ce37aeea3c..399aa1b87f4 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractJExcelView.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/view/document/AbstractJExcelView.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2012 the original author or authors. + * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -19,7 +19,6 @@ package org.springframework.web.servlet.view.document; import java.io.OutputStream; import java.util.Locale; import java.util.Map; - import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -34,9 +33,9 @@ import org.springframework.web.servlet.view.AbstractView; /** * Convenient superclass for Excel document views. * - *
This class uses the JExcelAPI instead of POI. More - * information on JExcelAPI can be found on their website. + *
This class uses the JExcelAPI instead of POI. + * More information on JExcelAPI can be found on their + * website. * *
Properties: *
* protected void buildExcelDocument(
- * Map<String, Object> model, WritableWorkbook workbook,
- * HttpServletRequest request, HttpServletResponse response) {
+ * Map<String, Object> model, WritableWorkbook workbook,
+ * HttpServletRequest request, HttpServletResponse response) {
*
* if (workbook.getNumberOfSheets() == 0) {
- * workbook.createSheet("Spring", 0);
+ * workbook.createSheet("Spring", 0);
* }
*
* WritableSheet sheet = workbook.getSheet("Spring");
@@ -70,7 +69,7 @@ import org.springframework.web.servlet.view.AbstractView;
* sheet.addCell(label);
* }
*
- * The use of this view is close to the AbstractExcelView class,
+ * The use of this view is close to the {@link AbstractExcelView} class,
* just using the JExcel API instead of the Apache POI API.
*
* @author Bram Smeets
@@ -79,7 +78,10 @@ import org.springframework.web.servlet.view.AbstractView;
* @since 1.2.5
* @see AbstractExcelView
* @see AbstractPdfView
+ * @deprecated as of Spring 4.0, since JExcelAPI is an abandoned project
+ * (no release since 2009, with serious bugs remaining)
*/
+@Deprecated
public abstract class AbstractJExcelView extends AbstractView {
/** The content type for an Excel response */