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