org.knime.core.node.port.pmml
Class PMMLPortObjectSpecSerializer
java.lang.Object
org.knime.core.node.port.PortObjectSpec.PortObjectSpecSerializer<PMMLPortObjectSpec>
org.knime.core.node.port.pmml.PMMLPortObjectSpecSerializer
- All Implemented Interfaces:
- SerializerMethodLoader.Serializer<PMMLPortObjectSpec>
public class PMMLPortObjectSpecSerializer
- extends PortObjectSpec.PortObjectSpecSerializer<PMMLPortObjectSpec>
- Author:
- Fabian Dill, University of Konstanz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PMMLPortObjectSpecSerializer
public PMMLPortObjectSpecSerializer()
loadPortObjectSpec
public PMMLPortObjectSpec loadPortObjectSpec(PortObjectSpecZipInputStream in)
throws IOException
- Load a specification from an input stream.
- Specified by:
loadPortObjectSpec
in class PortObjectSpec.PortObjectSpecSerializer<PMMLPortObjectSpec>
- Parameters:
in
- Where to load from
- Returns:
- The restored object.
- Throws:
IOException
- If that fails for IO problems.
savePortObjectSpec
public void savePortObjectSpec(PMMLPortObjectSpec portObjectSpec,
PortObjectSpecZipOutputStream out)
throws IOException
- Saves the port specification to an output stream.
- Specified by:
savePortObjectSpec
in class PortObjectSpec.PortObjectSpecSerializer<PMMLPortObjectSpec>
- Parameters:
portObjectSpec
- The spec to save.out
- Where to save to
- Throws:
IOException
- If that fails for IO problems.
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.