Home
last modified time | relevance | path

Searched refs:ArchiveStreamFactory (Results 1 – 22 of 22) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DArchiveStreamFactoryTest.java54 new ArchiveStreamFactory() in shortTextFilesAreNoTARs()
69 new ArchiveStreamFactory().createArchiveInputStream(is); in aiffFilesAreNoTARs()
81 new ArchiveStreamFactory().createArchiveInputStream(bis); in testCOMPRESS209()
91 new ArchiveStreamFactory() in cantRead7zFromStream()
92 .createArchiveInputStream(ArchiveStreamFactory.SEVEN_Z, in cantRead7zFromStream()
98 new ArchiveStreamFactory() in cantWrite7zToStream()
99 .createArchiveOutputStream(ArchiveStreamFactory.SEVEN_Z, in cantWrite7zToStream()
112 new ArchiveStreamFactory().createArchiveInputStream(bis); in detectsAndThrowsFor7z()
115 assertEquals(ArchiveStreamFactory.SEVEN_Z, ex.getFormat()); in detectsAndThrowsFor7z()
129 … try (ArchiveInputStream ais = new ArchiveStreamFactory().createArchiveInputStream(bis)) { in skipsPK00Prefix()
[all …]
DExceptionMessageTest.java36 new ArchiveStreamFactory().createArchiveInputStream(null, System.in); in testMessageWhenArchiverNameIsNull_1()
48 new ArchiveStreamFactory().createArchiveInputStream("zip", null); in testMessageWhenInputStreamIsNull()
60 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()
84 final ArchiveInputStream in = new ArchiveStreamFactory() in testArUnarchive()
105 … final ArchiveOutputStream os = new ArchiveStreamFactory().createArchiveOutputStream("ar", out); in testArDelete()
132 … final ArchiveOutputStream aos = new ArchiveStreamFactory().createArchiveOutputStream("ar", os); in testArDelete()
133 …final ArchiveInputStream ais = new ArchiveStreamFactory().createArchiveInputStream(new BufferedInp… in testArDelete()
168 …final ArchiveInputStream ais = new ArchiveStreamFactory().createArchiveInputStream(new BufferedInp… in testArDelete()
DArchiveServiceLoaderTest.java32 …new ArchiveStreamFactory().createArchiveInputStream("ArchiveTestInput1", new ByteArrayInputStream(… in testInputStream()
37 …new ArchiveStreamFactory().createArchiveOutputStream("ArchiveTestOutput1", new ByteArrayOutputStre… in testOutputStream()
DJarTestCase.java43 … final ArchiveOutputStream os = new ArchiveStreamFactory().createArchiveOutputStream("jar", out); in testJarArchiveCreation()
61 … final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("jar", is); in testJarUnarchive()
92 … final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("jar", is); in testJarUnarchiveAll()
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()
117 … final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("tar", is); in testTarUnarchive()
322 … final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("tar", is); in testCOMPRESS178()
DDumpTestCase.java53 in = new ArchiveStreamFactory() in unarchiveAll()
95 new ArchiveStreamFactory() in archiveDetection()
DZipTestCase.java69 os = new ArchiveStreamFactory() in testZipArchiveCreation()
91 in = new ArchiveStreamFactory() in testZipArchiveCreation()
145 try (ArchiveInputStream in = new ArchiveStreamFactory() in testZipArchiveCreationInMemory()
168 … final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("zip", is)) { in testZipUnarchive()
256 in = new ArchiveStreamFactory().createArchiveInputStream("zip", is); in testListAllFilesWithNestedArchive()
262 …final ArchiveInputStream nestedIn = new ArchiveStreamFactory().createArchiveInputStream("zip", in); in testListAllFilesWithNestedArchive()
664 … final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("zip", fis)) { in testInputStreamStatistics()
DCpioTestCase.java49 … final ArchiveOutputStream os = new ArchiveStreamFactory().createArchiveOutputStream("cpio", out); in testCpioArchiveCreation()
72 … final ArchiveOutputStream os = new ArchiveStreamFactory().createArchiveOutputStream("cpio", out); in testCpioUnarchive()
92 … final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("cpio", is); in testCpioUnarchive()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/examples/
DExpander.java36 import org.apache.commons.compress.archivers.ArchiveStreamFactory;
69 format = new ArchiveStreamFactory().detect(i); in expand()
107 expand(new ArchiveStreamFactory().createArchiveInputStream(archive), targetDirectory); in expand()
122 … expand(new ArchiveStreamFactory().createArchiveInputStream(format, archive), targetDirectory); in expand()
139 } else if (ArchiveStreamFactory.ZIP.equalsIgnoreCase(format)) { in expand()
141 } else if (ArchiveStreamFactory.SEVEN_Z.equalsIgnoreCase(format)) { in expand()
234 …return ArchiveStreamFactory.ZIP.equalsIgnoreCase(format) || ArchiveStreamFactory.SEVEN_Z.equalsIgn… in prefersSeekableByteChannel()
DArchiver.java35 import org.apache.commons.compress.archivers.ArchiveStreamFactory;
96 create(new ArchiveStreamFactory().createArchiveOutputStream(format, target), directory); in create()
115 } else if (ArchiveStreamFactory.ZIP.equalsIgnoreCase(format)) { in create()
117 } else if (ArchiveStreamFactory.SEVEN_Z.equalsIgnoreCase(format)) { in create()
194 …return ArchiveStreamFactory.ZIP.equalsIgnoreCase(format) || ArchiveStreamFactory.SEVEN_Z.equalsIgn… in prefersSeekableByteChannel()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/
DLister.java37 private static final ArchiveStreamFactory factory = new ArchiveStreamFactory();
50 if (ArchiveStreamFactory.SEVEN_Z.equalsIgnoreCase(format)) { in main()
DArchiveStreamFactory.java89 public class ArchiveStreamFactory implements ArchiveStreamProvider { class
97 private static final ArchiveStreamFactory SINGLETON = new ArchiveStreamFactory();
267 public ArchiveStreamFactory() {
278 public ArchiveStreamFactory(final String encoding) {
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/pack200/
DPack200UtilsTest.java30 import org.apache.commons.compress.archivers.ArchiveStreamFactory;
44 final ArchiveInputStream in = new ArchiveStreamFactory() in testNormalize()
90 final ArchiveInputStream in = new ArchiveStreamFactory() in testNormalizeInPlace()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DPack200TestCase.java37 import org.apache.commons.compress.archivers.ArchiveStreamFactory;
74 final ArchiveInputStream in = new ArchiveStreamFactory() in jarUnarchiveAll()
114 final ArchiveOutputStream os = new ArchiveStreamFactory() in jarArchiveCreation()
129 final ArchiveInputStream in = new ArchiveStreamFactory() in jarArchiveCreation()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/examples/
DParameterizedArchiverTest.java39 import org.apache.commons.compress.archivers.ArchiveStreamFactory;
111 … ArchiveOutputStream aos = new ArchiveStreamFactory().createArchiveOutputStream(format, os)) { in archiveStreamVersion()
120 … ArchiveInputStream ais = new ArchiveStreamFactory().createArchiveInputStream(format, bis)) { in verifyContent()
DParameterizedExpanderTest.java39 import org.apache.commons.compress.archivers.ArchiveStreamFactory;
77 try (ArchiveOutputStream aos = new ArchiveStreamFactory() in setUp()
134 … ArchiveInputStream ais = new ArchiveStreamFactory().createArchiveInputStream(format, i)) { in archiveInputStreamVersion()
DExpanderTest.java39 import org.apache.commons.compress.archivers.ArchiveStreamFactory;
183 try (ArchiveOutputStream aos = new ArchiveStreamFactory() in setupZip()
207 try (ArchiveOutputStream aos = new ArchiveStreamFactory() in setupZip()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DAbstractTestCase.java41 import org.apache.commons.compress.archivers.ArchiveStreamFactory;
54 protected ArchiveStreamFactory factory = new ArchiveStreamFactory();
/external/apache-commons-compress/src/changes/
Drelease-notes.vm268 o ArchiveStreamFactory now throws a StreamingNotSupported - a
381 o ArchiveStreamFactory's tar stream detection created false positives
430 o ArchiveStreamFactory has a setting for file name encoding that sets
438 ArchiveStreamFactory but will cause an
506 o COMPRESS-171: ArchiveStreamFactory.createArchiveInputStream would claim
597 ArchiveStreamFactory.
629 o COMPRESS-95: Improve ExceptionMessages in ArchiveStreamFactory Thanks to Joerg Bellmann.
640 o COMPRESS-107: ArchiveStreamFactory does not recognise tar files created by Ant
/external/apache-commons-compress/
DRELEASE-NOTES.txt229 and ArchiveStreamFactory
440 false positives of ArchiveStreamFactory.
519 o ArchiveStreamFactory fails to pass on the encoding when creating
528 o Restore immutability/thread-safety to ArchiveStreamFactory.
668 o ArchiveStreamFactory now throws a StreamingNotSupported - a
781 o ArchiveStreamFactory's tar stream detection created false positives
830 o ArchiveStreamFactory has a setting for file name encoding that sets
838 ArchiveStreamFactory but will cause an
906 o COMPRESS-171: ArchiveStreamFactory.createArchiveInputStream would claim
997 ArchiveStreamFactory.
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/
DTarArchiveOutputStreamTest.java46 import org.apache.commons.compress.archivers.ArchiveStreamFactory;
60 final ArchiveOutputStream tarOut = new ArchiveStreamFactory() in testCount()
61 .createArchiveOutputStream(ArchiveStreamFactory.TAR, fos); in testCount()