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, skip
public 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
在类中 FilterInputStream
IOException
public void reset() throws IOException
reset
在类中 FilterInputStream
IOException
public int read(byte[] b) throws IOException
read
在类中 FilterInputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
在类中 FilterInputStream
IOException
public final InputStream getWrappedInputStream()
protected final int getUnnotifiedByteCount()
protected final long getNotifiedByteCount()
public void close() throws IOException
close
在接口中 Closeable
close
在接口中 AutoCloseable
close
在类中 FilterInputStream
IOException
public final ProgressListener getListener()
Copyright © 2019. All Rights Reserved.