Interface ArchiverFactory

  • All Known Implementing Classes:
    ArchiverFactoryImpl

    public interface ArchiverFactory
    Interface of a component capable to build instances of archiver.
    Since:
    1.1.3
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Optional<Archiver> get​(java.lang.String extension)
      Gets an archiver capable to process the given file extension.
    • Method Detail

      • get

        java.util.Optional<Archiver> get​(java.lang.String extension)
        Gets an archiver capable to process the given file extension.
        Parameters:
        extension - File extension.
        Returns:
        Archiver, or null if this type of archive is not supported.