private class MultiPartContentProvider.MultiPartIterator extends java.lang.Object implements java.util.Iterator<java.nio.ByteBuffer>, Synchronizable, Callback, java.io.Closeable
Callback.Completable, Callback.NestedInvocable.InvocationType| Modifier and Type | Field and Description |
|---|---|
private int |
index |
private java.util.Iterator<java.nio.ByteBuffer> |
iterator |
private MultiPartContentProvider.State |
state |
__nonBlocking| Modifier | Constructor and Description |
|---|---|
private |
MultiPartIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
failed(java.lang.Throwable x)
Callback invoked when the operation fails.
|
java.lang.Object |
getLock() |
boolean |
hasNext() |
java.nio.ByteBuffer |
next() |
void |
succeeded()
Callback invoked when the operation completes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetInvocationType, getInvocationType, invokeNonBlocking, isNonBlockingInvocationprivate java.util.Iterator<java.nio.ByteBuffer> iterator
private int index
private MultiPartContentProvider.State state
public boolean hasNext()
hasNext in interface java.util.Iterator<java.nio.ByteBuffer>public java.nio.ByteBuffer next()
next in interface java.util.Iterator<java.nio.ByteBuffer>public java.lang.Object getLock()
getLock in interface Synchronizablepublic void succeeded()
CallbackCallback invoked when the operation completes.
succeeded in interface CallbackCallback.failed(Throwable)public void failed(java.lang.Throwable x)
CallbackCallback invoked when the operation fails.
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException