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
TaskGraphExceptionpublic abstract void write(T t, java.io.OutputStream sink) throws TaskGraphException
TaskGraphExceptionpublic java.lang.String readAsString(java.io.InputStream in)
throws TaskGraphException
TaskGraphExceptionpublic byte[] readAsBytes(java.io.InputStream in)
throws TaskGraphException
TaskGraphException