mirror of https://github.com/apache/poi.git
add extra constructor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879311 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2564083be3
commit
be1d2aebf2
|
@ -24,6 +24,7 @@ import java.util.NoSuchElementException;
|
|||
|
||||
import org.apache.poi.ss.usermodel.Sheet;
|
||||
import org.apache.poi.util.Beta;
|
||||
import org.apache.poi.util.NotImplemented;
|
||||
import org.apache.poi.util.POILogFactory;
|
||||
import org.apache.poi.util.POILogger;
|
||||
import org.apache.poi.xssf.usermodel.XSSFSheet;
|
||||
|
@ -45,6 +46,8 @@ public class EmittingSXSSFWorkbook extends SXSSFWorkbook {
|
|||
this(null);
|
||||
}
|
||||
|
||||
public EmittingSXSSFWorkbook(int rowAccessWindowSize) { this(null, rowAccessWindowSize); }
|
||||
|
||||
public EmittingSXSSFWorkbook(XSSFWorkbook workbook) {
|
||||
this(workbook, SXSSFWorkbook.DEFAULT_WINDOW_SIZE);
|
||||
}
|
||||
|
@ -53,6 +56,7 @@ public class EmittingSXSSFWorkbook extends SXSSFWorkbook {
|
|||
super(workbook, rowAccessWindowSize, false, false);
|
||||
}
|
||||
|
||||
@NotImplemented
|
||||
@Override
|
||||
protected SheetDataWriter createSheetDataWriter() throws IOException {
|
||||
throw new RuntimeException("Not supported by EmittingSXSSFWorkbook");
|
||||
|
|
|
@ -103,7 +103,7 @@ public class SXSSFWorkbook implements Workbook {
|
|||
|
||||
private int _randomAccessWindowSize = DEFAULT_WINDOW_SIZE;
|
||||
|
||||
protected static interface ISheetInjector {
|
||||
protected interface ISheetInjector {
|
||||
void writeSheetData(OutputStream out) throws IOException;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue