Package org.apache.axiom.util.blob
Class BlobDataSource
- java.lang.Object
-
- org.apache.axiom.util.blob.BlobDataSource
-
- All Implemented Interfaces:
DataSource
,org.apache.axiom.ext.activation.SizeAwareDataSource
public class BlobDataSource extends Object implements org.apache.axiom.ext.activation.SizeAwareDataSource
Deprecated.UseBlobDataSource
instead.Data source backed by aBlob
.
-
-
Constructor Summary
Constructors Constructor Description BlobDataSource(Blob blob, String contentType)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getContentType()
Deprecated.InputStream
getInputStream()
Deprecated.String
getName()
Deprecated.OutputStream
getOutputStream()
Deprecated.long
getSize()
Deprecated.
-
-
-
Method Detail
-
getInputStream
public InputStream getInputStream() throws IOException
Deprecated.- Specified by:
getInputStream
in interfaceDataSource
- Throws:
IOException
-
getContentType
public String getContentType()
Deprecated.- Specified by:
getContentType
in interfaceDataSource
-
getName
public String getName()
Deprecated.- Specified by:
getName
in interfaceDataSource
-
getOutputStream
public OutputStream getOutputStream() throws IOException
Deprecated.- Specified by:
getOutputStream
in interfaceDataSource
- Throws:
IOException
-
getSize
public long getSize()
Deprecated.- Specified by:
getSize
in interfaceorg.apache.axiom.ext.activation.SizeAwareDataSource
-
-