public interface FileItemIterator
FileUploadBase.getItemIterator(RequestContext)
.Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns, whether another instance of
FileItemStream
is available. |
FileItemStream |
next()
Returns the next available
FileItemStream . |
boolean hasNext() throws FileUploadException, java.io.IOException
FileItemStream
is available.FileUploadException
- Parsing or processing the
file item failed.java.io.IOException
- Reading the file item failed.FileItemStream next() throws FileUploadException, java.io.IOException
FileItemStream
.java.util.NoSuchElementException
- No more items are available. Use
hasNext()
to prevent this exception.FileUploadException
- Parsing or processing the
file item failed.java.io.IOException
- Reading the file item failed.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.