1 16 package org.apache.axis.attachments; 17 18 import java.net.URL ; 19 20 import javax.activation.DataHandler ; 21 import javax.activation.DataSource ; 22 23 31 public class DynamicContentDataHandler extends DataHandler { 32 33 int chunkSize = 1*1024*1024; 34 35 38 public DynamicContentDataHandler(DataSource arg0) { 39 super(arg0); 40 } 41 42 46 public DynamicContentDataHandler(Object arg0, String arg1) { 47 super(arg0, arg1); 48 } 49 50 53 public DynamicContentDataHandler(URL arg0) { 54 super(arg0); 55 } 56 57 61 public int getChunkSize() { 62 return chunkSize; 63 } 64 65 69 public void setChunkSize(int chunkSize) { 70 this.chunkSize = chunkSize; 71 } 72 } 73 | Popular Tags |