public class UESStreamBufferSource extends java.lang.Object implements UESStreamSource
UESStreamSource
for UESStreamBuffer
.Modifier and Type | Field and Description |
---|---|
private UESStreamBuffer |
buffer
Instance of wrapped stream buffer.
|
private java.lang.String |
contentType
Content type.
|
private long |
size
Data size.
|
Constructor and Description |
---|
UESStreamBufferSource(UESStreamBuffer buffer,
Creates new instance of UESStreamBufferSource
|
UESStreamBufferSource(UESStreamBuffer buffer,
Creates new instance of UESStreamBufferSource
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType() |
java.io.InputStream |
getInputStream() |
java.lang.String |
getName() |
java.io.OutputStream |
getOutputStream() |
long |
getSize()
Returns data size in bytes.
|
buffer
- Instance of UESStreamBuffer
contentType
- Content typebuffer
- Instance of UESStreamBuffer
contentType
- Content typesize
- Data sizegetInputStream
in interface javax.activation.DataSource
java.io.IOException
getOutputStream
in interface javax.activation.DataSource
java.io.IOException
getContentType
in interface javax.activation.DataSource
getName
in interface javax.activation.DataSource
getSize
in interface UESStreamSource