Interface AutoDetectingImporter

    • Method Detail

      • isImportable

        boolean isImportable​(InputStream in)
                      throws BaseException
        Check if the given InputStream can be imported by this plugin.
        Parameters:
        in - The input stream to check
        Returns:
        TRUE if the stream can be imported, FALSE otherwise
        Throws:
        BaseException - If something goes wrong
      • doImport

        void doImport​(InputStream in,
                      ProgressReporter progress)
               throws BaseException
        Import the data from the given InputStream.
        Parameters:
        in - The input stream to read from
        progress - Progress reporter used by the caller to keep track of the progress. Null is allowed
        Throws:
        BaseException - If something goes wrong