Interface ArchiveNioSupport

All Known Implementing Classes:
ZipArchiveNioSupport

public interface ArchiveNioSupport
Something that can provide access to an archive file as a file system.
  • Method Summary

    Modifier and Type
    Method
    Description
    tryOpenAsDir(Path archive)
    Try to open the given archive as a file system.
  • Method Details

    • tryOpenAsDir

      Optional<ArchiveDir> tryOpenAsDir(Path archive) throws IOException
      Try to open the given archive as a file system.
      Parameters:
      archive - the archive to open
      Returns:
      the path for the root of the archive, if available
      Throws:
      IOException