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, IOException
FileItemStream
is available.FileUploadException
- Parsing or processing the
file item failed.IOException
- Reading the file item failed.FileItemStream next() throws FileUploadException, IOException
FileItemStream
.NoSuchElementException
- No more items are available. Use
hasNext()
to prevent this exception.FileUploadException
- Parsing or processing the
file item failed.IOException
- Reading the file item failed.Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.