public class FileUpload.FileItemIteratorImpl extends Object implements Iterator<FileItemStream>
FileUpload.getItemIterator(HttpServletRequest).| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasNext()
Returns, whether another instance of
FileItemStream is available. |
FileItemStream |
next()
Returns the next available
FileItemStream. |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic void remove()
remove 在接口中 Iterator<FileItemStream>public boolean hasNext()
FileItemStream is available.hasNext 在接口中 Iterator<FileItemStream>FileUploadException - Parsing or processing the file item failed.IOException - Reading the file item failed.public FileItemStream next()
FileItemStream.next 在接口中 Iterator<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.