public abstract class ProgressInputStream extends FilterInputStream
in| 构造器和说明 |
|---|
ProgressInputStream(InputStream is,
ProgressListener listener) |
ProgressInputStream(InputStream is,
ProgressListener listener,
int notifyThresHold) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
ProgressListener |
getListener() |
protected long |
getNotifiedByteCount() |
protected int |
getUnnotifiedByteCount() |
InputStream |
getWrappedInputStream() |
static InputStream |
inputStreamForRequest(InputStream is,
WebServiceRequest req) |
static InputStream |
inputStreamForResponse(InputStream is,
WebServiceRequest req) |
protected void |
onClose() |
protected void |
onEOF() |
protected void |
onFirstRead() |
protected void |
onNotifyBytesRead() |
protected void |
onReset() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
available, mark, markSupported, skippublic ProgressInputStream(InputStream is, ProgressListener listener)
public ProgressInputStream(InputStream is, ProgressListener listener, int notifyThresHold)
public static InputStream inputStreamForRequest(InputStream is, WebServiceRequest req)
public static InputStream inputStreamForResponse(InputStream is, WebServiceRequest req)
protected void onFirstRead()
protected void onEOF()
protected void onClose()
protected void onReset()
protected void onNotifyBytesRead()
public int read()
throws IOException
read 在类中 FilterInputStreamIOExceptionpublic void reset()
throws IOException
reset 在类中 FilterInputStreamIOExceptionpublic int read(byte[] b)
throws IOException
read 在类中 FilterInputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read 在类中 FilterInputStreamIOExceptionpublic final InputStream getWrappedInputStream()
protected final int getUnnotifiedByteCount()
protected final long getNotifiedByteCount()
public void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 FilterInputStreamIOExceptionpublic final ProgressListener getListener()
Copyright © 2020. All Rights Reserved.