-
-
Method Summary
Modifier and Type |
Method |
Description |
String |
getMimeType() |
Returns the MIME type associated with the data object represented by this
OctetStreamData .
|
InputStream |
getOctetStream() |
Returns the input stream of this OctetStreamData .
|
String |
getURI() |
Returns the URI String identifying the data object represented by this
OctetStreamData .
|
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
OctetStreamData
public OctetStreamData(InputStream octetStream,
String uri,
String mimeType)
Creates a new OctetStreamData
.
- Parameters:
octetStream
- the input stream containing the octets
uri
- the URI String identifying the data object (may be
null
)
mimeType
- the MIME type associated with the data object (may be
null
)
- Throws:
NullPointerException
- if octetStream
is
null