Interface ArchiveUtil.DoInArchiveHandler2<T>

  • Type Parameters:
    T - return type
    Enclosing class:
    ArchiveUtil

    public static interface ArchiveUtil.DoInArchiveHandler2<T>
    Callback for #doInArchive(ArchiveFileDescriptor, String, DoInArchiveHandler) Similar to DoInArchiveHandler but #found method MUST close all Closeable items in deque(stack)
    Since:
    8.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T found​(ArchiveEntry entry, ArchiveInputStream stream, java.util.Deque<java.io.Closeable> shouldBeManuallyClosed)  
    • Method Detail

      • found

        T found​(@NotNull
                ArchiveEntry entry,
                @NotNull
                ArchiveInputStream stream,
                @NotNull
                java.util.Deque<java.io.Closeable> shouldBeManuallyClosed)
         throws java.io.IOException
        Throws:
        java.io.IOException