程序包 | 说明 |
---|---|
com.sinacloud.scs.event | |
com.sinacloud.scs.services.scs.transfer.internal |
限定符和类型 | 方法和说明 |
---|---|
static ProgressListenerCallbackExecutor |
ProgressListenerCallbackExecutor.wrapListener(ProgressListener listener)
Returns a new ProgressListenerCallbackExecutor instance that wraps the
specified ProgressListener if it is not null, otherwise directly returns
null.
|
构造器和说明 |
---|
ProgressReportingInputStream(InputStream in,
ProgressListenerCallbackExecutor listenerCallbackExecutor)
Creates a new progress reporting input stream that simply wraps the
specified input stream and uses the specified listener callback executor to
asynchronously notify the listener about the number of bytes transferred.
|
限定符和类型 | 字段和说明 |
---|---|
protected ProgressListenerCallbackExecutor |
AbstractTransfer.progressListenerChainCallbackExecutor
Listener call-back executor
|
Copyright © 2016. All rights reserved.