public class UnstructuredBusResource extends BusResource
Constructor and Description |
---|
UnstructuredBusResource(java.lang.String uri) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData() |
java.io.File |
getFile() |
java.io.InputStream |
getInputStream() |
java.lang.String |
getMimeType() |
boolean |
isStructured() |
void |
setData(byte[] data) |
void |
setFile(java.io.File file) |
void |
setHeader(java.lang.String header,
java.lang.String value) |
void |
setInputStream(java.io.InputStream iStream) |
void |
setMimeType(java.lang.String mimeType) |
getJSON, getProperties, getProperty, getURI, isURINode, setProperty, toPropertiesString
public boolean isStructured()
isStructured
in class BusResource
public void setMimeType(java.lang.String mimeType)
public java.lang.String getMimeType()
public void setData(byte[] data)
public void setInputStream(java.io.InputStream iStream)
public java.io.InputStream getInputStream()
public byte[] getData()
public void setHeader(java.lang.String header, java.lang.String value)
public void setFile(java.io.File file)
public java.io.File getFile()