private class MultiPartContentProvider.MultiPartIterator extends java.lang.Object implements java.util.Iterator<java.nio.ByteBuffer>, Synchronizable, Callback, java.io.Closeable
Callback.Completable, Callback.Nested
Invocable.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, wait
getInvocationType, getInvocationType, invokeNonBlocking, isNonBlockingInvocation
private 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 Synchronizable
public void succeeded()
Callback
Callback invoked when the operation completes.
succeeded
in interface Callback
Callback.failed(Throwable)
public void failed(java.lang.Throwable x)
Callback
Callback invoked when the operation fails.
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException