Interface ArchiveUtil.ArchiveFileDescriptor

  • Enclosing class:
    ArchiveUtil

    public static interface ArchiveUtil.ArchiveFileDescriptor
    Descriptor for archive file.
    Since:
    8.0
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.io.InputStream getInputStream()
      Used for construct ArchiveInputStream via #getArchiveInputStream(String, InputStream)
      java.lang.String getName()
      Used for archive type detection.
      java.lang.String toString()
      Used for error reporting
    • Method Detail

      • getInputStream

        java.io.InputStream getInputStream()
                                    throws java.io.IOException
        Used for construct ArchiveInputStream via #getArchiveInputStream(String, InputStream)
        Throws:
        java.io.IOException
      • toString

        java.lang.String toString()
        Used for error reporting
        Overrides:
        toString in class java.lang.Object