public final class AbortableInputStream extends FilterInputStream implements Abortable
in| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Aborts the execution of the task.
|
static AbortableInputStream |
create(InputStream delegate)
Creates an instance of
AbortableInputStream that ignores abort. |
static AbortableInputStream |
create(InputStream delegate,
Abortable abortable)
Creates an instance of
AbortableInputStream. |
available, close, mark, markSupported, read, read, read, reset, skippublic static AbortableInputStream create(InputStream delegate, Abortable abortable)
AbortableInputStream.delegate - the delegated input streamabortable - the abortablepublic static AbortableInputStream create(InputStream delegate)
AbortableInputStream that ignores abort.delegate - the delegated input streamCopyright © 2019. All rights reserved.