public interface IFileItemIterator
AbstractFileUploadBase.getItemIterator(IRequestContext)
.| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Returns, whether another instance of
IFileItemStream is available. |
IFileItemStream |
next()
Returns the next available
IFileItemStream. |
boolean hasNext()
throws FileUploadException,
IOException
IFileItemStream is available.FileUploadException - Parsing or processing the file item failed.IOException - Reading the file item failed.@Nonnull IFileItemStream next() throws FileUploadException, IOException
IFileItemStream.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 © 2014–2019 Philip Helger. All rights reserved.