javax.activation

Interface DataSource

Known Implementing Classes:
FileDataSource, URLDataSource

public interface DataSource

Method Summary

abstract String
getContentType()
abstract InputStream
getInputStream()
abstract String
getName()
abstract OutputStream
getOutputStream()

Method Details

getContentType

public abstract String getContentType()

getInputStream

public abstract InputStream getInputStream()
            throws IOException

getName

public abstract String getName()

getOutputStream

public abstract OutputStream getOutputStream()
            throws IOException