public class TLcdOWSInputStream extends FilterInputStream
in
Constructor and Description |
---|
TLcdOWSInputStream(String aMimeType,
InputStream aInputStream)
Creates a new OWS input stream.
|
TLcdOWSInputStream(String aMimeType,
InputStream aInputStream,
Object aTransportData)
Creates a new OWS input stream.
|
Modifier and Type | Method and Description |
---|---|
String |
getMimeType()
The MIME type of the data in this input stream or an empty string if the MIME type
is not specified.
|
Object |
getTransportData()
Returns an object representing data associated with the response stream
received in the transportation layer (see
ILcdOWSTransport ). |
available, close, mark, markSupported, read, read, read, reset, skip
public TLcdOWSInputStream(String aMimeType, InputStream aInputStream)
aMimeType
- the MIME typeaInputStream
- the input stream containing the dataNullPointerException
- if the MIME type or input stream parameters is nullpublic TLcdOWSInputStream(String aMimeType, InputStream aInputStream, Object aTransportData)
aMimeType
- the MIME typeaInputStream
- the input stream containing the dataaTransportData
- transportation layer data associated with the responseNullPointerException
- if the MIME type or input stream parameters is nullpublic String getMimeType()
public Object getTransportData()
ILcdOWSTransport
).
The type of object and the data contained in it depends on
the ILcdOWSTransport
object used to connect with an OWS service.
An example in the case of a HTTP transport connection is a map of response-headers
(see URLConnection.getHeaderFields()
).