public interface FlowLoader
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFlowFileExtension()
Get the extension of the Knowledge Flow file format handled by this loader
|
java.lang.String |
getFlowFileExtensionDescription()
Get a description of the flow file format handled by this loader
|
Flow |
readFlow(java.io.File flowFile)
Load a flow from the supplied file
|
Flow |
readFlow(java.io.InputStream is)
Load a flow from the supplied input stream
|
Flow |
readFlow(java.io.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 usejava.lang.String getFlowFileExtension()
java.lang.String getFlowFileExtensionDescription()
Flow readFlow(java.io.File flowFile) throws WekaException
flowFile
- the file to load fromWekaException
- if a problem occursFlow readFlow(java.io.InputStream is) throws WekaException
is
- the input stream to load fromWekaException
- if a problem occursFlow readFlow(java.io.Reader r) throws WekaException
r
- the reader to load fromWekaException
- if a problem occurs