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 UESStreamBuffercontentType - Content typebuffer - Instance of UESStreamBuffercontentType - Content typesize - Data sizegetInputStream in interface javax.activation.DataSourcejava.io.IOExceptiongetOutputStream in interface javax.activation.DataSourcejava.io.IOExceptiongetContentType in interface javax.activation.DataSourcegetName in interface javax.activation.DataSourcegetSize in interface UESStreamSource