| Constructor and Description |
|---|
OctetStreamData(InputStream
Creates a new
OctetStreamData.
|
OctetStreamData(InputStream
Creates a new
OctetStreamData.
|
| Modifier and Type | Method and 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.
|
public OctetStreamData(InputStreamoctetStream)
OctetStreamData.
octetStream - the input stream containing the octets
NullPointerException - if
octetStream is
null
public OctetStreamData(InputStreamoctetStream, String uri, String mimeType)
OctetStreamData.
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)
NullPointerException - if
octetStream is
null
public InputStreamgetOctetStream()
OctetStreamData.
OctetStreamData.
public StringgetURI()
OctetStreamData.
null if not applicable
public StringgetMimeType()
OctetStreamData.
null if not applicable