public class BytesHandler extends IoTypeHandler<byte[]>
Constructor and Description |
---|
BytesHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getKnownTypes() |
byte[] |
read(java.lang.String type,
java.io.InputStream source) |
void |
write(byte[] bytes,
java.io.OutputStream sink) |
readAsBytes, readAsString
public java.lang.String[] getKnownTypes()
getKnownTypes
in class IoTypeHandler<byte[]>
public byte[] read(java.lang.String type, java.io.InputStream source) throws TaskGraphException
read
in class IoTypeHandler<byte[]>
TaskGraphException
public void write(byte[] bytes, java.io.OutputStream sink) throws TaskGraphException
write
in class IoTypeHandler<byte[]>
TaskGraphException