|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.protocol.wps.client.input.ExecutionInput org.deegree.protocol.wps.client.input.BinaryInput
public class BinaryInput
ExecutionInput
that encapsulates a binary value.
Constructor Summary | |
---|---|
BinaryInput(CodeType id,
InputStream inputStream,
String mimeType,
String encoding)
Creates a new BinaryInput instance. |
|
BinaryInput(CodeType id,
URL url,
boolean isWebAccessible,
String mimeType,
String encoding)
Creates a new BinaryInput instance. |
Method Summary | |
---|---|
InputStream |
getAsBinaryStream()
Returns the value as a binary stream. |
ComplexFormat |
getFormat()
Returns the format of the input. |
URL |
getWebAccessibleURL()
Returns the web-accessible URL for retrieving the input value. |
Methods inherited from class org.deegree.protocol.wps.client.input.ExecutionInput |
---|
getId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BinaryInput(CodeType id, URL url, boolean isWebAccessible, String mimeType, String encoding)
BinaryInput
instance.
id
- parameter identifier, must not be null
url
- URL for accessing the binary resource, must not be null
isWebAccessible
- if true, the data will be submitted to the process as reference, otherwise it will be encoded in the
requestmimeType
- mime type of the binary resource, may be null
(unspecified)encoding
- encoding to be used for the binary data, may be null
(unspecified)public BinaryInput(CodeType id, InputStream inputStream, String mimeType, String encoding)
BinaryInput
instance.
id
- parameter identifier, must not be null
inputStream
- binary stream, must not be null
mimeType
- mime type of the binary resource, may be null
(unspecified)encoding
- encoding to be used for the binary data, may be null
(unspecified)Method Detail |
---|
public ComplexFormat getFormat()
null
public InputStream getAsBinaryStream() throws IOException
null
IOException
- if accessing the data failspublic URL getWebAccessibleURL()
ExecutionInput
getWebAccessibleURL
in class ExecutionInput
null
(not web-acessible)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |