Documentation of 'weka.knowledgeflow.FlowLoader' Java class
FlowLoader
weka.knowledgeflow

Interface FlowLoader

    • Method Detail

      • setLog

        void setLog(Logger log)
        Set a log to use
        Parameters:
        log - log to use
      • getFlowFileExtension

        java.lang.String getFlowFileExtension()
        Get the extension of the Knowledge Flow file format handled by this loader
        Returns:
        the flow file extension
      • getFlowFileExtensionDescription

        java.lang.String getFlowFileExtensionDescription()
        Get a description of the flow file format handled by this loader
        Returns:
        a description of the file format handles
      • readFlow

        Flow readFlow(java.io.File flowFile)
               throws WekaException
        Load a flow from the supplied file
        Parameters:
        flowFile - the file to load from
        Returns:
        the loaded Flow
        Throws:
        WekaException - if a problem occurs
      • readFlow

        Flow readFlow(java.io.InputStream is)
               throws WekaException
        Load a flow from the supplied input stream
        Parameters:
        is - the input stream to load from
        Returns:
        the loaded Flow
        Throws:
        WekaException - if a problem occurs
      • readFlow

        Flow readFlow(java.io.Reader r)
               throws WekaException
        Load a flow from the supplied reader
        Parameters:
        r - the reader to load from
        Returns:
        the loaded Flow
        Throws:
        WekaException - if a problem occurs

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.