⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
javax.activation

Interface DataSource


public interface DataSource

An interface by which MIME data can be retrieved and stored.
Author:

Method Summary

String

getContentType()

Returns the MIME content type of the data.

InputStream

getInputStream()

Returns an input stream from which the data can be read.

String

getName()

Returns the underlying name of this object.

OutputStream

getOutputStream()

Returns an output stream to which the data can be written.

Method Details

getContentType

public String getContentType()

Returns the MIME content type of the data.


getInputStream

public InputStream getInputStream()

Returns an input stream from which the data can be read.


getName

public String getName()

Returns the underlying name of this object.


getOutputStream

public OutputStream getOutputStream()

Returns an output stream to which the data can be written.