API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.activation. DataSource View Source
Author(s)
Since
1.6
Version
Serial
Hierarchy
 DataSource
Subinterfaces
Description
public interface DataSource
  The DataSource interface provides the JavaBeans Activation Framework with an abstraction of an arbitrary collection of data.
See also:   
Methods
Hide/Show inherited methods
public String getContentType ()
  This method returns the MIME type of the data in the form of a string.
public InputStream getInputStream () throws IOException
  This method returns an InputStream representing the data and throws the appropriate exception if it can not do so.
public String getName ()
  Return the name of this object where the name of the object is dependant on the nature of the underlying objects.
public OutputStream getOutputStream () throws IOException
  This method returns an OutputStream where the data can be written and throws the appropriate exception if it can not do so.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar