Class OCFZipResources

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.zip.ZipFile zip  
    • Constructor Summary

      Constructors 
      Constructor Description
      OCFZipResources​(io.mola.galimatias.URL url)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      private static java.lang.String getCompressionMethod​(java.util.zip.ZipEntry entry)  
      private static java.lang.String getSHAHash​(java.util.zip.ZipEntry entry, java.util.zip.ZipFile zip)  
      java.util.Iterator<OCFResource> iterator()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • zip

        private final java.util.zip.ZipFile zip
    • Constructor Detail

      • OCFZipResources

        public OCFZipResources​(io.mola.galimatias.URL url)
                        throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • iterator

        public java.util.Iterator<OCFResource> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<OCFResource>
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface OCFResources
        Throws:
        java.io.IOException
      • getSHAHash

        private static java.lang.String getSHAHash​(java.util.zip.ZipEntry entry,
                                                   java.util.zip.ZipFile zip)
      • getCompressionMethod

        private static java.lang.String getCompressionMethod​(java.util.zip.ZipEntry entry)