public static class XSSFReader.SheetIterator
extends java.lang.Object
implements java.util.Iterator<java.io.InputStream>
Modifier and Type | Method and Description |
---|---|
java.util.List<XSSFShape> |
getShapes()
Returns the shapes associated with this sheet, an empty list or null if there is an exception
(返回与此工作表关联的形状,一个空列表或 null 如果有异常)
|
CommentsTable |
getSheetComments()
Returns the comments associated with this sheet, or null if there aren't any
(返回与此工作表关联的评论,如果没有,则返回 null)
|
java.lang.String |
getSheetName()
Returns name of the current sheet
(返回当前工作表的名称)
|
PackagePart |
getSheetPart() |
boolean |
hasNext()
Returns
true if the iteration has more elements.
(如果迭代有更多元素,则返回 true。)
|
java.io.InputStream |
next()
Returns input stream of the next sheet in the iteration
(返回迭代中下一张工作表的输入流)
|
void |
remove()
We're read only, so remove isn't supported
(我们是只读的,所以不支持删除)
|
public boolean hasNext()
hasNext
in interface
java.util.Iterator<java.io.InputStream>
(接口 java.util.Iterator 中的 hasNext
public java.io.InputStream next()
next
in interface
java.util.Iterator<java.io.InputStream>
(接口 java.util.Iterator 中的下一个
public java.lang.String getSheetName()
public CommentsTable getSheetComments()
public java.util.List<XSSFShape> getShapes()
public PackagePart getSheetPart()
public void remove()
remove
in interface
java.util.Iterator<java.io.InputStream>
(在接口 java.util.Iterator 中删除
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.