Home
last modified time | relevance | path

Searched refs:createArchiveOutputStream (Results 1 – 21 of 21) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DArchiveOutputStreamTest.java45 ArchiveOutputStream aos1 = factory.createArchiveOutputStream("zip", out1); in testFinish()
54 aos1 = factory.createArchiveOutputStream("jar", out1); in testFinish()
63 aos1 = factory.createArchiveOutputStream("ar", out1); in testFinish()
72 aos1 = factory.createArchiveOutputStream("cpio", out1); in testFinish()
81 aos1 = factory.createArchiveOutputStream("tar", out1); in testFinish()
95 try (ArchiveOutputStream aos1 = factory.createArchiveOutputStream("zip", out1)) { in testOptionalFinish()
101 try (ArchiveOutputStream aos1 = factory.createArchiveOutputStream("jar", out1)) { in testOptionalFinish()
145 aos1 = factory.createArchiveOutputStream(archiveType, out1); in doCallSequence()
155 aos1 = factory.createArchiveOutputStream(archiveType, out1); in doCallSequence()
201 ArchiveOutputStream aos1 = factory.createArchiveOutputStream(archiveType, out1); in createArchiveWithDummyEntry()
DExceptionMessageTest.java60 new ArchiveStreamFactory().createArchiveOutputStream(null, System.out); in testMessageWhenArchiverNameIsNull_2()
72 new ArchiveStreamFactory().createArchiveOutputStream("zip", null); in testMessageWhenOutputStreamIsNull()
DArTestCase.java49 … final ArchiveOutputStream os = new ArchiveStreamFactory().createArchiveOutputStream("ar", out); in testArArchiveCreation()
69 … final ArchiveOutputStream os = new ArchiveStreamFactory().createArchiveOutputStream("ar", out); in testArUnarchive()
105 … final ArchiveOutputStream os = new ArchiveStreamFactory().createArchiveOutputStream("ar", out); in testArDelete()
132 … final ArchiveOutputStream aos = new ArchiveStreamFactory().createArchiveOutputStream("ar", os); in testArDelete()
DTarTestCase.java45 … final ArchiveOutputStream os = new ArchiveStreamFactory().createArchiveOutputStream("tar", out); in testTarArchiveCreation()
69 … final ArchiveOutputStream os = new ArchiveStreamFactory().createArchiveOutputStream("tar", out); in testTarArchiveLongNameCreation()
92 os2 = new ArchiveStreamFactory().createArchiveOutputStream("tar", out2); in testTarArchiveLongNameCreation()
DArchiveServiceLoaderTest.java37 …new ArchiveStreamFactory().createArchiveOutputStream("ArchiveTestOutput1", new ByteArrayOutputStre… in testOutputStream()
DTestArchiveStreamProvider.java45 …public ArchiveOutputStream createArchiveOutputStream(final String name, final OutputStream out, fi… in createArchiveOutputStream() method in TestArchiveStreamProvider
DCpioTestCase.java49 … final ArchiveOutputStream os = new ArchiveStreamFactory().createArchiveOutputStream("cpio", out); in testCpioArchiveCreation()
72 … final ArchiveOutputStream os = new ArchiveStreamFactory().createArchiveOutputStream("cpio", out); in testCpioUnarchive()
DJarTestCase.java43 … final ArchiveOutputStream os = new ArchiveStreamFactory().createArchiveOutputStream("jar", out); in testJarArchiveCreation()
DArchiveStreamFactoryTest.java99 .createArchiveOutputStream(ArchiveStreamFactory.SEVEN_Z, in cantWrite7zToStream()
431 return factory.createArchiveOutputStream(type, new ByteArrayOutputStream()); in getOutputStreamFor()
DZipTestCase.java70 .createArchiveOutputStream("zip", out); in testZipArchiveCreation()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/changes/
DChangeSetTestCase.java165 out = factory.createArchiveOutputStream(archivename, in testDeleteDir()
207 out = factory.createArchiveOutputStream(archivename, in testDeleteDir2()
249 out = factory.createArchiveOutputStream(archivename, in testDeleteDir3()
291 out = factory.createArchiveOutputStream(archivename, in testDeleteFile()
334 out = factory.createArchiveOutputStream(archivename, in testDeleteFile2()
379 out = factory.createArchiveOutputStream(archivename, in testDeletePlusAddSame()
449 out = factory.createArchiveOutputStream(archivename, in testChangeSetResults()
513 out = factory.createArchiveOutputStream(archivename, in testDeletePlusAdd()
560 out = factory.createArchiveOutputStream(archivename, in testDeleteFromAndAddToZip()
606 out = factory.createArchiveOutputStream(archivename, in testDeleteFromAndAddToZipUsingZipFilePerform()
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DIOMethodsTest.java115 final ArchiveOutputStream aos1 = factory.createArchiveOutputStream(archiverName, out1); in compareWrites()
117 final ArchiveOutputStream aos2 = factory.createArchiveOutputStream(archiverName, out2); in compareWrites()
119 final ArchiveOutputStream aos3 = factory.createArchiveOutputStream(archiverName, out3); in compareWrites()
DAbstractTestCase.java174 out = factory.createArchiveOutputStream(archivename, stream); in createArchive()
235 out = factory.createArchiveOutputStream(archivename, stream); in createEmptyArchive()
262 out = factory.createArchiveOutputStream(archivename, stream); in createSingleEntryArchive()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/
DArchiveStreamFactory.java406 …public ArchiveOutputStream createArchiveOutputStream(final String archiverName, final OutputStream…
408 return createArchiveOutputStream(archiverName, out, entryEncoding);
412 public ArchiveOutputStream createArchiveOutputStream(
456 … return archiveStreamProvider.createArchiveOutputStream(archiverName, out, actualEncoding);
DArchiveStreamProvider.java87 …ArchiveOutputStream createArchiveOutputStream(final String name, final OutputStream out, final Str… in createArchiveOutputStream() method
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/examples/
DExpanderTest.java184 .createArchiveOutputStream("zip", Files.newOutputStream(archive.toPath()))) { in setupZip()
208 .createArchiveOutputStream("zip", Files.newOutputStream(archive.toPath()))) { in setupZip()
DParameterizedArchiverTest.java111 … ArchiveOutputStream aos = new ArchiveStreamFactory().createArchiveOutputStream(format, os)) { in archiveStreamVersion()
DParameterizedExpanderTest.java78 .createArchiveOutputStream(format, Files.newOutputStream(archive.toPath()))) { in setUp()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/examples/
DArchiver.java96 create(new ArchiveStreamFactory().createArchiveOutputStream(format, target), directory); in create()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DPack200TestCase.java115 .createArchiveOutputStream("jar", out); in jarArchiveCreation()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/
DTarArchiveOutputStreamTest.java61 .createArchiveOutputStream(ArchiveStreamFactory.TAR, fos); in testCount()