public class BytesSource extends StreamSource implements Serializable
Source from a byte[] which can be read as many times as required.FEATURE| Constructor and Description |
|---|
BytesSource(byte[] data) |
BytesSource(byte[] data,
String systemId) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData() |
InputStream |
getInputStream() |
Reader |
getReader() |
String |
toString() |
getPublicId, getSystemId, setInputStream, setPublicId, setReader, setSystemId, setSystemIdpublic BytesSource(byte[] data)
public BytesSource(byte[] data,
String systemId)
public InputStream getInputStream()
getInputStream in class StreamSourcepublic Reader getReader()
getReader in class StreamSourcepublic byte[] getData()
Apache CAMEL