示例#1
0
 public UploadAdaptor(String path, int buffer, String charset, int poolSize, int maxFileSize) {
   context = new UploadingContext(new NutFilePool(path, poolSize));
   context.setBufferSize(buffer);
   context.setCharset(charset);
   context.setMaxFileSize(maxFileSize);
 }
示例#2
0
 public UploadAdaptor(String path, int buffer, String charset) {
   this(path);
   context.setBufferSize(buffer);
   context.setCharset(charset);
 }