• 大小: 0.95M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-25
  • 标签: 上传  文件  

资源简介

文件上传

资源截图

代码片段和文件信息

package com.ilovn.libs.fileupload;

import java.io.FilterOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.charset.Charset;

import org.apache.http.entity.mime.HttpMultipartMode;
import org.apache.http.entity.mime.MultipartEntity;

public class CustomMultiPartEntity extends MultipartEntity {
private final ProgressListener listener;

public CustomMultiPartEntity(final ProgressListener listener) {
super();
this.listener = listener;
}

public CustomMultiPartEntity(final HttpMultipartMode mode
final ProgressListener listener) {
super(mode);
this.listener = listener;
}

public CustomMultiPartEntity(HttpMultipartMode mode final String boundary
final Charset charset final ProgressListener listener) {
super(mo

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2012-09-11 14:10  Fileupload\
     文件         510  2012-09-11 14:10  Fileupload\.classpath
     文件         386  2012-09-11 14:10  Fileupload\.project
     目录           0  2012-09-11 14:10  Fileupload\bin\
     目录           0  2012-09-11 14:10  Fileupload\bin\com\
     目录           0  2012-09-11 14:10  Fileupload\bin\com\ilovn\
     目录           0  2012-09-11 14:10  Fileupload\bin\com\ilovn\libs\
     目录           0  2012-09-11 14:10  Fileupload\bin\com\ilovn\libs\fileupload\
     文件        1344  2012-09-11 14:10  Fileupload\bin\com\ilovn\libs\fileupload\CustomMultiPartEntity$CountingOutputStream.class
     文件         298  2012-09-11 14:10  Fileupload\bin\com\ilovn\libs\fileupload\CustomMultiPartEntity$ProgressListener.class
     文件        1902  2012-09-11 14:10  Fileupload\bin\com\ilovn\libs\fileupload\CustomMultiPartEntity.class
     文件        1173  2012-09-11 14:10  Fileupload\bin\com\ilovn\libs\fileupload\HttpMultipartPost$1.class
     文件         283  2012-09-11 14:10  Fileupload\bin\com\ilovn\libs\fileupload\HttpMultipartPost$CallBack.class
     文件         285  2012-09-11 14:10  Fileupload\bin\com\ilovn\libs\fileupload\HttpMultipartPost$CallBackMsg.class
     文件        6012  2012-09-11 14:10  Fileupload\bin\com\ilovn\libs\fileupload\HttpMultipartPost.class
     文件        1765  2012-09-10 13:43  Fileupload\CustomMultiPartEntity.java
     文件        4920  2012-09-10 13:43  Fileupload\FileUtilities.java
     文件        3227  2012-09-10 13:48  Fileupload\HttpMultipartPost.java
     文件      495600  2012-09-11 14:10  Fileupload\ilovn_fileupload.jar
     目录           0  2012-09-11 14:10  Fileupload\libs\
     文件      284220  2012-09-11 14:10  Fileupload\libs\commons-lang-2.6.jar
     文件      223282  2012-09-11 14:10  Fileupload\libs\httpcore-4.2.jar
     文件       26592  2012-09-11 14:10  Fileupload\libs\httpmime-4.2.jar
     目录           0  2012-09-11 14:10  Fileupload\src\
     目录           0  2012-09-11 14:10  Fileupload\src\com\
     目录           0  2012-09-11 14:10  Fileupload\src\com\ilovn\
     目录           0  2012-09-11 14:10  Fileupload\src\com\ilovn\libs\
     目录           0  2012-09-11 14:10  Fileupload\src\com\ilovn\libs\fileupload\
     文件        1765  2012-09-11 14:10  Fileupload\src\com\ilovn\libs\fileupload\CustomMultiPartEntity.java
     文件        3660  2012-09-11 14:10  Fileupload\src\com\ilovn\libs\fileupload\HttpMultipartPost.java

评论

共有 条评论