1 21 22 27 28 package javax.activation; 29 30 import java.io.InputStream ; 31 import java.io.OutputStream ; 32 import java.io.IOException ; 33 34 41 42 public interface DataSource { 43 44 53 public InputStream getInputStream() throws IOException ; 54 55 64 public OutputStream getOutputStream() throws IOException ; 65 66 74 public String getContentType(); 75 76 85 public String getName(); 86 } 87 | Popular Tags |