Interface PluginSessionImporter

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      java.lang.String getFileName()
      Get the filename that was used to store data in the archive.
      boolean read​(java.io.InputStream inputStream)
      Read data from a file stream
      default boolean readZipFile​(java.util.zip.ZipFile zipFile)
      Read the data from a zip file
    • Method Detail

      • read

        boolean read​(java.io.InputStream inputStream)
        Read data from a file stream
        Parameters:
        inputStream - The stream to read
        Returns:
        true if the importer loaded data
      • readZipFile

        default boolean readZipFile​(java.util.zip.ZipFile zipFile)
                             throws java.io.IOException
        Read the data from a zip file
        Parameters:
        zipFile - The zipfile to read
        Returns:
        true if the importer loaded data
        Throws:
        java.io.IOException - if there was an issue reading the zip file. See ZipFile.getInputStream(ZipEntry).