Home
last modified time | relevance | path

Searched refs:archiveEntry (Results 1 – 12 of 12) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/pack200/
DPack200UtilsTest.java49 final File archiveEntry = new File(dir, entry.getName()); in testNormalize() local
50 archiveEntry.getParentFile().mkdirs(); in testNormalize()
52 archiveEntry.mkdir(); in testNormalize()
56 final OutputStream out = new FileOutputStream(archiveEntry); in testNormalize()
95 final File archiveEntry = new File(dir, entry.getName()); in testNormalizeInPlace() local
96 archiveEntry.getParentFile().mkdirs(); in testNormalizeInPlace()
98 archiveEntry.mkdir(); in testNormalizeInPlace()
102 final OutputStream out = new FileOutputStream(archiveEntry); in testNormalizeInPlace()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DDumpTestCase.java58 final File archiveEntry = new File(dir, entry.getName()); in unarchiveAll() local
59 archiveEntry.getParentFile().mkdirs(); in unarchiveAll()
61 archiveEntry.mkdir(); in unarchiveAll()
65 out = new FileOutputStream(archiveEntry); in unarchiveAll()
DJarTestCase.java96 final File archiveEntry = new File(dir, entry.getName()); in testJarUnarchiveAll() local
97 archiveEntry.getParentFile().mkdirs(); in testJarUnarchiveAll()
99 archiveEntry.mkdir(); in testJarUnarchiveAll()
103 final OutputStream out = new FileOutputStream(archiveEntry); in testJarUnarchiveAll()
DZipTestCase.java435 final ZipArchiveEntry archiveEntry = new ZipArchiveEntry("fred"); in testUnixModeInAddRaw() local
436 archiveEntry.setUnixMode(0664); in testUnixModeInAddRaw()
437 archiveEntry.setMethod(ZipEntry.DEFLATED); in testUnixModeInAddRaw()
438 zos.addRawArchiveEntry(archiveEntry, new ByteArrayInputStream("fud".getBytes())); in testUnixModeInAddRaw()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipArchiveEntryTest.java265 final ZipArchiveEntry archiveEntry = new ZipArchiveEntry("fred"); in testCopyConstructor() local
266 archiveEntry.setUnixMode(0664); in testCopyConstructor()
267 archiveEntry.setMethod(ZipEntry.DEFLATED); in testCopyConstructor()
268 archiveEntry.getGeneralPurposeBit().useStrongEncryption(true); in testCopyConstructor()
269 final ZipArchiveEntry copy = new ZipArchiveEntry(archiveEntry); in testCopyConstructor()
270 assertEquals(archiveEntry, copy); in testCopyConstructor()
DScatterSampleTest.java45 final ZipArchiveEntry archiveEntry = new ZipArchiveEntry("test1.xml"); in createFile() local
46 archiveEntry.setMethod(ZipEntry.DEFLATED); in createFile()
54 scatterSample.addEntry(archiveEntry, supp); in createFile()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DPack200TestCase.java79 final File archiveEntry = new File(dir, entry.getName()); in jarUnarchiveAll() local
80 archiveEntry.getParentFile().mkdirs(); in jarUnarchiveAll()
82 archiveEntry.mkdir(); in jarUnarchiveAll()
86 final OutputStream out = new FileOutputStream(archiveEntry); in jarUnarchiveAll()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/
DArchiveInputStream.java151 public boolean canReadEntryData(final ArchiveEntry archiveEntry) { in canReadEntryData() argument
DArchiveOutputStream.java166 public boolean canWriteEntryData(final ArchiveEntry archiveEntry) { in canWriteEntryData() argument
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipArchiveOutputStream.java726 public void putArchiveEntry(final ArchiveEntry archiveEntry) throws IOException { in putArchiveEntry() argument
727 putArchiveEntry(archiveEntry, false); in putArchiveEntry()
742 …private void putArchiveEntry(final ArchiveEntry archiveEntry, final boolean phased) throws IOExcep… in putArchiveEntry() argument
751 entry = new CurrentEntry((ZipArchiveEntry) archiveEntry); in putArchiveEntry()
787 writeLocalFileHeader((ZipArchiveEntry) archiveEntry, phased); in putArchiveEntry()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarArchiveOutputStream.java340 public void putArchiveEntry(final ArchiveEntry archiveEntry) throws IOException { in putArchiveEntry() argument
344 final TarArchiveEntry entry = (TarArchiveEntry) archiveEntry; in putArchiveEntry()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DSevenZOutputFile.java169 public void putArchiveEntry(final ArchiveEntry archiveEntry) throws IOException { in putArchiveEntry() argument
170 final SevenZArchiveEntry entry = (SevenZArchiveEntry) archiveEntry; in putArchiveEntry()