예제 #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);
 }