public static class OoxmlReader.SheetIterator extends Object implements Iterator<InputStream>
| Modifier and Type | Method and Description |
|---|---|
List<org.apache.poi.xssf.usermodel.XSSFShape> |
getShapes()
Returns the shapes associated with this sheet,
an empty list or null if there is an exception
|
org.apache.poi.xssf.model.CommentsTable |
getSheetComments()
Returns the comments associated with this sheet,
or null if there aren't any
|
String |
getSheetName()
Returns name of the current sheet
|
org.apache.poi.openxml4j.opc.PackagePart |
getSheetPart() |
boolean |
hasNext()
Returns true if the iteration has more elements.
|
InputStream |
next()
Returns input stream of the next sheet in the iteration
|
protected org.apache.poi.xssf.model.CommentsTable |
parseComments(org.apache.poi.openxml4j.opc.PackagePart commentsPart) |
void |
remove()
We're read only, so remove isn't supported
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic boolean hasNext()
hasNext in interface Iterator<InputStream>public InputStream next()
next in interface Iterator<InputStream>public String getSheetName()
public org.apache.poi.xssf.model.CommentsTable getSheetComments()
protected org.apache.poi.xssf.model.CommentsTable parseComments(org.apache.poi.openxml4j.opc.PackagePart commentsPart)
throws IOException
IOExceptionpublic List<org.apache.poi.xssf.usermodel.XSSFShape> getShapes()
public org.apache.poi.openxml4j.opc.PackagePart getSheetPart()
public void remove()
remove in interface Iterator<InputStream>Copyright © 2021. All rights reserved.