Interface ExplodedImporter

    • Method Detail

      • importDirectory

        ExplodedImporter importDirectory​(java.io.File file)
        Import a directory structure as a archive.
        Parameters:
        file - The directory to import
        Returns:
        this
        Throws:
        java.lang.IllegalArgumentException - if file is null
        java.lang.IllegalArgumentException - if file is not a directory
      • importDirectory

        ExplodedImporter importDirectory​(java.io.File file,
                                         Filter<ArchivePath> filter)
        Import a directory structure as a archive.
        Parameters:
        file - The directory to import
        filter - The filter control which files or directories will be imported
        Returns:
        this
        Throws:
        java.lang.IllegalArgumentException - if file is null
        java.lang.IllegalArgumentException - if file is not a directory
      • importDirectory

        ExplodedImporter importDirectory​(java.lang.String fileName)
        Import a directory structure as a archive.
        Parameters:
        fileName - The name of the directory to import
        Returns:
        this
        Throws:
        java.lang.IllegalArgumentException - if file is null
        java.lang.IllegalArgumentException - if file is not a directory
      • importDirectory

        ExplodedImporter importDirectory​(java.lang.String fileName,
                                         Filter<ArchivePath> filter)
        Import a directory structure as a archive.
        Parameters:
        fileName - The name of the directory to import
        filter - The filter control which files or directories will be imported
        Returns:
        this
        Throws:
        java.lang.IllegalArgumentException - if file is null
        java.lang.IllegalArgumentException - if file is not a directory