|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.node.port.PortUtil
public final class PortUtil
Contains framework methods that are used to persist or read
PortObject and PortObjectSpec objects.
Methods in this class are not meant to be used by node developers. This class and its methods may change in future versions.
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T extends PortObjectSpec> PortObjectSpec.PortObjectSpecSerializer<T> getPortObjectSpecSerializer(Class<T> cl)
PortObjectSpec objects
represented by the class argument.
T - The specific PortObjectSpec class of interest.cl - Class argument.
public static <T extends PortObject> PortObject.PortObjectSerializer<T> getPortObjectSerializer(Class<T> cl)
PortObject objects
represented by the class argument.
T - The specific PortObject class of interest.cl - Class argument.
public static PortObjectSpecZipOutputStream getPortObjectSpecZipOutputStream(OutputStream in)
throws IOException
IOException
public static PortObjectZipOutputStream getPortObjectZipOutputStream(OutputStream in)
throws IOException
IOException
public static PortObjectSpecZipInputStream getPortObjectSpecZipInputStream(InputStream in)
throws IOException
IOException
public static PortObjectZipInputStream getPortObjectZipInputStream(InputStream in)
throws IOException
IOException
public static void writeObjectToFile(PortObject po,
File file,
ExecutionMonitor exec)
throws IOException,
CanceledExecutionException
IOException
CanceledExecutionException
public static void writeObjectToStream(PortObject po,
OutputStream output,
ExecutionMonitor exec)
throws IOException,
CanceledExecutionException
IOException
CanceledExecutionException
public static PortObject readObjectFromFile(File file,
ExecutionMonitor exec)
throws IOException,
CanceledExecutionException
IOException
CanceledExecutionException
public static PortObject readObjectFromStream(InputStream input,
ExecutionMonitor exec)
throws IOException,
CanceledExecutionException
IOException
CanceledExecutionException
public static PortObjectSpec readObjectSpecFromFile(File file)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||