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 String
getContentType()
InputStream
getInputStream()
String
getName()
OutputStream
getOutputStream()
-
-
-
Constructor Detail
-
AbderaDataSource
public AbderaDataSource(Base base)
-
-
Method Detail
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceDataSource
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStream
in interfaceDataSource
- Throws:
IOException
-
getName
public String getName()
- Specified by:
getName
in interfaceDataSource
-
getOutputStream
public OutputStream getOutputStream() throws IOException
- Specified by:
getOutputStream
in interfaceDataSource
- Throws:
IOException
-
-