Package org.apache.abdera.util
Class AbderaDataSource
- java.lang.Object
-
- org.apache.abdera.util.AbderaDataSource
-
- All Implemented Interfaces:
DataSource
public final class AbderaDataSource extends Object implements DataSource
Utility implementation of javax.activation.DataSource that wraps Abdera Base
-
-
Constructor Summary
Constructors Constructor Description AbderaDataSource(Base base)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentType()InputStreamgetInputStream()StringgetName()OutputStreamgetOutputStream()
-
-
-
Constructor Detail
-
AbderaDataSource
public AbderaDataSource(Base base)
-
-
Method Detail
-
getContentType
public String getContentType()
- Specified by:
getContentTypein interfaceDataSource
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStreamin interfaceDataSource- Throws:
IOException
-
getName
public String getName()
- Specified by:
getNamein interfaceDataSource
-
getOutputStream
public OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStreamin interfaceDataSource- Throws:
IOException
-
-