Class ApacheZipSlipAwareArchiveInputStream


  • public class ApacheZipSlipAwareArchiveInputStream
    extends ArchiveInputStream
    • Constructor Detail

      • ApacheZipSlipAwareArchiveInputStream

        public ApacheZipSlipAwareArchiveInputStream​(@NotNull
                                                    ArchiveInputStream delegate)
    • Method Detail

      • getNextEntry

        public ArchiveEntry getNextEntry()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public int read()
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getCount

        @Deprecated
        public int getCount()
        Deprecated.
      • getBytesRead

        public long getBytesRead()
      • canReadEntryData

        public boolean canReadEntryData​(ArchiveEntry archiveEntry)
      • read

        public int read​(@NotNull
                        byte[] bytes)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • read

        public int read​(@NotNull
                        byte[] bytes,
                        int i,
                        int i1)
                 throws java.io.IOException
        Throws:
        java.io.IOException
      • skip

        public long skip​(long l)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • available

        public int available()
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • mark

        public void mark​(int i)
      • reset

        public void reset()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • markSupported

        public boolean markSupported()