org.apache.commons.fileupload.ProgressListener Java Examples

The following examples show how to use org.apache.commons.fileupload.ProgressListener. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DefaultWebMvcModuleCfg.java    From ymate-platform-v2 with Apache License 2.0 4 votes vote down vote up
@Override
public ProgressListener getUploadFileListener() {
    return __uploadFileListener;
}
 
Example #2
Source File: MultipartStreamCopy.java    From dcs-sdk-java with Apache License 2.0 2 votes vote down vote up
/**
 * Creates a new instance with the given listener
 * and content length.
 *
 * @param pListener      The listener to invoke.
 * @param pContentLength The expected content length.
 */
ProgressNotifier(ProgressListener pListener, long pContentLength) {
    listener = pListener;
    contentLength = pContentLength;
}
 
Example #3
Source File: IWebMvcModuleCfg.java    From ymate-platform-v2 with Apache License 2.0 2 votes vote down vote up
/**
 * @return 文件上传状态监听器
 */
ProgressListener getUploadFileListener();
 
Example #4
Source File: MultipartStream.java    From actframework with Apache License 2.0 2 votes vote down vote up
/** Creates a new instance with the given listener
 * and content length.
 * @param pListener The listener to invoke.
 * @param pContentLength The expected content length.
 */
ProgressNotifier(ProgressListener pListener, long pContentLength) {
    listener = pListener;
    contentLength = pContentLength;
}
 
Example #5
Source File: MultipartStream.java    From restcommander with Apache License 2.0 2 votes vote down vote up
/** Creates a new instance with the given listener
 * and content length.
 * @param pListener The listener to invoke.
 * @param pContentLength The expected content length.
 */
ProgressNotifier(ProgressListener pListener, long pContentLength) {
    listener = pListener;
    contentLength = pContentLength;
}