예제 #1
0
 /**
  * Returns the MIME type of the data represented by this object.
  *
  * @return the MIME type
  */
 public String getContentType() {
   return dataHandler.getContentType();
 }
예제 #2
0
 /**
  * Returns the name of this object.
  *
  * @return the name of this object
  */
 public String getName() {
   return dataHandler.getName(); // what else would it be?
 }
예제 #3
0
 /**
  * Returns the <code>OutputStream</code> for this object.
  *
  * @return the <code>OutputStream</code>
  */
 public OutputStream getOutputStream() throws IOException {
   return dataHandler.getOutputStream();
 }