Searched refs:ZipMethod (Results 1 – 10 of 10) sorted by relevance
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | ZipMethod.java | 32 public enum ZipMethod { enum 180 private static final Map<Integer, ZipMethod> codeToEnum; 183 final Map<Integer, ZipMethod> cte = new HashMap<>(); 184 for (final ZipMethod method : values()) { 190 private ZipMethod() { in ZipMethod() method in ZipMethod 197 ZipMethod(final int code) { in ZipMethod() method in ZipMethod 220 public static ZipMethod getMethodByCode(final int code) { in getMethodByCode()
|
D | ZipUtil.java | 332 || entry.getMethod() == ZipMethod.UNSHRINKING.getCode() in supportsMethodOf() 333 || entry.getMethod() == ZipMethod.IMPLODING.getCode() in supportsMethodOf() 335 || entry.getMethod() == ZipMethod.ENHANCED_DEFLATED.getCode() in supportsMethodOf() 336 || entry.getMethod() == ZipMethod.BZIP2.getCode(); in supportsMethodOf() 351 final ZipMethod m = ZipMethod.getMethodByCode(ze.getMethod()); in checkRequestedFeatures()
|
D | UnsupportedZipFeatureException.java | 54 public UnsupportedZipFeatureException(final ZipMethod method, in UnsupportedZipFeatureException()
|
D | ParallelScatterZipCreator.java | 184 if (method == ZipMethod.UNKNOWN_CODE) { in createCallable()
|
D | ZipArchiveEntry.java | 116 private int method = ZipMethod.UNKNOWN_CODE;
|
D | ZipArchiveOutputStream.java | 906 return zae.getMethod() != ZipMethod.IMPLODING.getCode() in canWriteEntryData() 907 && zae.getMethod() != ZipMethod.UNSHRINKING.getCode() in canWriteEntryData()
|
D | ZipFile.java | 490 switch (ZipMethod.getMethodByCode(ze.getMethod())) { in getInputStream()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | ZipArchiveInputStreamTest.java | 140 assertEquals("method", ZipMethod.UNSHRINKING.getCode(), entry.getMethod()); in testUnshrinkEntry() 151 assertEquals("method", ZipMethod.UNSHRINKING.getCode(), entry.getMethod()); in testUnshrinkEntry() 233 assertEquals(ZipMethod.ENHANCED_DEFLATED.getCode(), e.getMethod()); in readDeflate64CompressedStreamWithDataDescriptor() 334 e.setMethod(ZipMethod.DEFLATED.getCode()); in properlyMarksEntriesAsUnreadableIfUncompressedSizeIsUnknown() 336 e.setMethod(ZipMethod.ENHANCED_DEFLATED.getCode()); in properlyMarksEntriesAsUnreadableIfUncompressedSizeIsUnknown() 338 e.setMethod(ZipMethod.BZIP2.getCode()); in properlyMarksEntriesAsUnreadableIfUncompressedSizeIsUnknown()
|
D | ExplodeSupportTest.java | 44 assertEquals("method", ZipMethod.IMPLODING.getCode(), entry.getMethod()); in testArchiveWithImplodeCompression() 76 assertEquals("method", ZipMethod.IMPLODING.getCode(), entry.getMethod()); in testZipStreamWithImplodeCompression()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/ |
D | ZipTestCase.java | 46 import org.apache.commons.compress.archivers.zip.ZipMethod; 207 assertEquals("method", ZipMethod.TOKENIZATION.getCode(), entry.getMethod()); in testSupportedCompressionMethod() 225 assertEquals("method", ZipMethod.TOKENIZATION.getCode(), entry.getMethod()); in testSkipEntryWithUnsupportedCompressionMethod()
|