Revert "Introduce support package"

This reverts commit 8b017871c62258dfba884cb92e82cbb6532fa158.
This commit is contained in:
Marten Deinum
2014-09-03 14:53:14 +02:00
committed by Michael Minella
parent ee94ef1fdc
commit f486e83eb8
11 changed files with 21 additions and 28 deletions

View File

@@ -13,14 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.batch.item.excel.support; package org.springframework.batch.item.excel;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.springframework.batch.item.excel.ExcelFileParseException;
import org.springframework.batch.item.excel.RowCallbackHandler;
import org.springframework.batch.item.excel.RowMapper;
import org.springframework.batch.item.excel.Sheet;
import org.springframework.batch.item.file.ResourceAwareItemReaderItemStream; import org.springframework.batch.item.file.ResourceAwareItemReaderItemStream;
import org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader; import org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader;
import org.springframework.beans.factory.InitializingBean; import org.springframework.beans.factory.InitializingBean;

View File

@@ -15,11 +15,11 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.batch.item.excel.support.jxl; package org.springframework.batch.item.excel.jxl;
import jxl.Workbook; import jxl.Workbook;
import jxl.read.biff.WorkbookParser; import jxl.read.biff.WorkbookParser;
import org.springframework.batch.item.excel.support.AbstractExcelItemReader; import org.springframework.batch.item.excel.AbstractExcelItemReader;
import org.springframework.batch.item.excel.Sheet; import org.springframework.batch.item.excel.Sheet;
import org.springframework.core.io.Resource; import org.springframework.core.io.Resource;
import org.springframework.util.ClassUtils; import org.springframework.util.ClassUtils;

View File

@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.batch.item.excel.support.jxl; package org.springframework.batch.item.excel.jxl;
import jxl.Cell; import jxl.Cell;
import org.springframework.batch.item.excel.Sheet; import org.springframework.batch.item.excel.Sheet;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.batch.item.excel.support.jxl; package org.springframework.batch.item.excel.jxl;
import jxl.Cell; import jxl.Cell;
import jxl.Workbook; import jxl.Workbook;

View File

@@ -14,12 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.batch.item.excel.support.poi; package org.springframework.batch.item.excel.poi;
import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Workbook; import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.usermodel.WorkbookFactory; import org.apache.poi.ss.usermodel.WorkbookFactory;
import org.springframework.batch.item.excel.support.AbstractExcelItemReader; import org.springframework.batch.item.excel.AbstractExcelItemReader;
import org.springframework.batch.item.excel.Sheet; import org.springframework.batch.item.excel.Sheet;
import org.springframework.core.io.Resource; import org.springframework.core.io.Resource;

View File

@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.batch.item.excel.support.poi; package org.springframework.batch.item.excel.poi;
import org.apache.poi.ss.usermodel.Cell; import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.FormulaEvaluator; import org.apache.poi.ss.usermodel.FormulaEvaluator;

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.batch.item.excel.support; package org.springframework.batch.item.excel;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
@@ -21,10 +21,7 @@ import org.junit.After;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
import org.springframework.batch.item.ExecutionContext; import org.springframework.batch.item.ExecutionContext;
import org.springframework.batch.item.excel.RowCallbackHandler;
import org.springframework.batch.item.excel.Sheet;
import org.springframework.batch.item.excel.mapping.PassThroughRowMapper; import org.springframework.batch.item.excel.mapping.PassThroughRowMapper;
import org.springframework.batch.item.excel.support.AbstractExcelItemReader;
import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.ClassPathResource;
import org.springframework.test.util.ReflectionTestUtils; import org.springframework.test.util.ReflectionTestUtils;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;

View File

@@ -14,10 +14,10 @@
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.batch.item.excel.support.jxl; package org.springframework.batch.item.excel.jxl;
import org.springframework.batch.item.excel.support.AbstractExcelItemReader; import org.springframework.batch.item.excel.AbstractExcelItemReader;
import org.springframework.batch.item.excel.support.AbstractExcelItemReaderTests; import org.springframework.batch.item.excel.AbstractExcelItemReaderTests;
/** /**
* Test * Test

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.batch.item.excel.support.jxl; package org.springframework.batch.item.excel.jxl;
import jxl.Cell; import jxl.Cell;
import jxl.Workbook; import jxl.Workbook;
@@ -23,7 +23,7 @@ import org.junit.Test;
import org.mockito.Mockito; import org.mockito.Mockito;
/** /**
* Tests for {@link org.springframework.batch.item.excel.support.jxl.JxlUtils}. * Tests for {@link org.springframework.batch.item.excel.jxl.JxlUtils}.
* *
* @author Marten Deinum * @author Marten Deinum
* *
@@ -46,7 +46,7 @@ public class JxlUtilsTests {
} }
/** /**
* Test the {@link org.springframework.batch.item.excel.support.jxl.JxlUtils#isEmpty( jxl.Cell)} method. * Test the {@link org.springframework.batch.item.excel.jxl.JxlUtils#isEmpty( jxl.Cell)} method.
*/ */
@Test @Test
public void checkIfCellsAreEmpty() { public void checkIfCellsAreEmpty() {

View File

@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.batch.item.excel.support.poi; package org.springframework.batch.item.excel.poi;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; import org.apache.commons.logging.LogFactory;
import org.springframework.batch.item.excel.support.AbstractExcelItemReader; import org.springframework.batch.item.excel.AbstractExcelItemReader;
import org.springframework.batch.item.excel.support.AbstractExcelItemReaderTests; import org.springframework.batch.item.excel.AbstractExcelItemReaderTests;
public class PoiItemReaderXlsTests extends AbstractExcelItemReaderTests { public class PoiItemReaderXlsTests extends AbstractExcelItemReaderTests {

View File

@@ -13,10 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.batch.item.excel.support.poi; package org.springframework.batch.item.excel.poi;
import org.springframework.batch.item.excel.support.AbstractExcelItemReader; import org.springframework.batch.item.excel.AbstractExcelItemReader;
import org.springframework.batch.item.excel.support.AbstractExcelItemReaderTests; import org.springframework.batch.item.excel.AbstractExcelItemReaderTests;
import org.springframework.core.io.ClassPathResource; import org.springframework.core.io.ClassPathResource;
public class PoiItemReaderXlsxTests extends AbstractExcelItemReaderTests { public class PoiItemReaderXlsxTests extends AbstractExcelItemReaderTests {