public interface FlowLoader
| Modifier and Type | Method and Description |
|---|---|
String |
getFlowFileExtension()
Get the extension of the Knowledge Flow file format handled by this loader
|
String |
getFlowFileExtensionDescription()
Get a description of the flow file format handled by this loader
|
Flow |
readFlow(File flowFile)
Load a flow from the supplied file
|
Flow |
readFlow(InputStream is)
Load a flow from the supplied input stream
|
Flow |
readFlow(Reader r)
Load a flow from the supplied reader
|
void |
setLog(Logger log)
Set a log to use
|
void setLog(Logger log)
log - log to useString getFlowFileExtension()
String getFlowFileExtensionDescription()
Flow readFlow(File flowFile) throws WekaException
flowFile - the file to load fromWekaException - if a problem occursFlow readFlow(InputStream is) throws WekaException
is - the input stream to load fromWekaException - if a problem occursFlow readFlow(Reader r) throws WekaException
r - the reader to load fromWekaException - if a problem occursCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.