Package com.adobe.epubcheck.ocf
Class OCFZipResources
- java.lang.Object
-
- com.adobe.epubcheck.ocf.OCFZipResources
-
- All Implemented Interfaces:
OCFResources,java.lang.Iterable<OCFResource>
public class OCFZipResources extends java.lang.Object implements OCFResources
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.zip.ZipFilezip
-
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 voidclose()private static java.lang.StringgetCompressionMethod(java.util.zip.ZipEntry entry)private static java.lang.StringgetSHAHash(java.util.zip.ZipEntry entry, java.util.zip.ZipFile zip)java.util.Iterator<OCFResource>iterator()
-
-
-
Method Detail
-
iterator
public java.util.Iterator<OCFResource> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<OCFResource>
-
close
public void close() throws java.io.IOException- Specified by:
closein interfaceOCFResources- 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)
-
-