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