Home
last modified time | relevance | path

Searched refs:ArchiveInputStream (Results 1 – 25 of 34) sorted by relevance

12

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DDetectArchiverTestCase.java29 import org.apache.commons.compress.archivers.ArchiveInputStream;
53 final ArchiveInputStream tar = getStreamFor("COMPRESS-117.tar"); in testCOMPRESS117()
60 final ArchiveInputStream tar = getStreamFor("COMPRESS-335.tar"); in testCOMPRESS335()
68 final ArchiveInputStream ar = getStreamFor("bla.ar"); in testDetection()
72 final ArchiveInputStream tar = getStreamFor("bla.tar"); in testDetection()
76 final ArchiveInputStream zip = getStreamFor("bla.zip"); in testDetection()
80 final ArchiveInputStream jar = getStreamFor("bla.jar"); in testDetection()
84 final ArchiveInputStream cpio = getStreamFor("bla.cpio"); in testDetection()
88 final ArchiveInputStream arj = getStreamFor("bla.arj"); in testDetection()
99 private ArchiveInputStream getStreamFor(final String resource) in getStreamFor()
[all …]
DIOMethodsTest.java30 import org.apache.commons.compress.archivers.ArchiveInputStream;
150 final ArchiveInputStream ais1 = factory.createArchiveInputStream(archiverName, is1); in compareReads()
161 final ArchiveInputStream ais2 = factory.createArchiveInputStream(archiverName, is2); in compareReads()
167 final ArchiveInputStream ais3 = factory.createArchiveInputStream(archiverName, is3); in compareReads()
DAbstractTestCase.java39 import org.apache.commons.compress.archivers.ArchiveInputStream;
289 final ArchiveInputStream in = factory.createArchiveInputStream(buf); in checkArchiveContent()
301 protected void checkArchiveContent(final ArchiveInputStream in, final List<String> expected) in checkArchiveContent()
315 …protected File checkArchiveContent(final ArchiveInputStream in, final List<String> expected, final… in checkArchiveContent()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/changes/
DChangeSetTestCase.java36 import org.apache.commons.compress.archivers.ArchiveInputStream;
157 ArchiveInputStream ais = null; in testDeleteDir()
199 ArchiveInputStream ais = null; in testDeleteDir2()
241 ArchiveInputStream ais = null; in testDeleteDir3()
283 ArchiveInputStream ais = null; in testDeleteFile()
326 ArchiveInputStream ais = null; in testDeleteFile2()
370 ArchiveInputStream ais = null; in testDeletePlusAddSame()
406 ArchiveInputStream in = null; in testDeletePlusAddSame()
442 ArchiveInputStream ais = null; in testChangeSetResults()
506 ArchiveInputStream ais = null; in testDeletePlusAdd()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/changes/
DChangeSetPerformer.java29 import org.apache.commons.compress.archivers.ArchiveInputStream;
70 public ChangeSetResults perform(final ArchiveInputStream in, final ArchiveOutputStream out) in perform()
242 private final ArchiveInputStream in;
244 ArchiveInputStreamIterator(final ArchiveInputStream in) { in ArchiveInputStreamIterator()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/pack200/
DPack200UtilsTest.java29 import org.apache.commons.compress.archivers.ArchiveInputStream;
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/archivers/memory/
DMemoryArchiveInputStream.java24 import org.apache.commons.compress.archivers.ArchiveInputStream;
26 public final class MemoryArchiveInputStream extends ArchiveInputStream {
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DArchiveStreamFactoryTest.java129 … try (ArchiveInputStream ais = new ArchiveStreamFactory().createArchiveInputStream(bis)) { in skipsPK00Prefix()
318 try (final ArchiveInputStream ais = getInputStreamFor(test.testFile, test.fac)) { in testEncodingInputStreamAutodetect()
337 … try (final ArchiveInputStream ais = getInputStreamFor(test.type, test.testFile, test.fac)) { in testEncodingInputStream()
414 …private ArchiveInputStream getInputStreamFor(final String resource, final ArchiveStreamFactory fac… in getInputStreamFor()
421 …private ArchiveInputStream getInputStreamFor(final String type, final String resource, final Archi… in getInputStreamFor()
DJarTestCase.java61 … final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("jar", is); in testJarUnarchive()
92 … final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("jar", is); in testJarUnarchiveAll()
DZipTestCase.java89 ArchiveInputStream in = null; in testZipArchiveCreation()
145 try (ArchiveInputStream in = new ArchiveStreamFactory() in testZipArchiveCreationInMemory()
168 … final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("zip", is)) { in testZipUnarchive()
254 ArchiveInputStream in = null; in testListAllFilesWithNestedArchive()
262 …final ArchiveInputStream nestedIn = new ArchiveStreamFactory().createArchiveInputStream("zip", in); in testListAllFilesWithNestedArchive()
664 … final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("zip", fis)) { in testInputStreamStatistics()
DTarTestCase.java117 … final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("tar", is); in testTarUnarchive()
129 final ArchiveInputStream in = new TarArchiveInputStream(is, in testCOMPRESS114()
322 … final ArchiveInputStream in = new ArchiveStreamFactory().createArchiveInputStream("tar", is); in testCOMPRESS178()
DArTestCase.java84 final ArchiveInputStream in = new ArchiveStreamFactory() in testArUnarchive()
133 …final ArchiveInputStream ais = new ArchiveStreamFactory().createArchiveInputStream(new BufferedInp… in testArDelete()
168 …final ArchiveInputStream ais = new ArchiveStreamFactory().createArchiveInputStream(new BufferedInp… in testArDelete()
DTestArchiveStreamProvider.java40 …public ArchiveInputStream createArchiveInputStream(final String name, final InputStream in, final … in createArchiveInputStream()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/
DLister.java59 final ArchiveInputStream ais = createArchiveInputStream(args, fis)) { in listStream()
68 …private static ArchiveInputStream createArchiveInputStream(final String[] args, final InputStream … in createArchiveInputStream()
DArchiveStreamFactory.java326 …public ArchiveInputStream createArchiveInputStream(final String archiverName, final InputStream in)
332 …public ArchiveInputStream createArchiveInputStream(final String archiverName, final InputStream in,
474 public ArchiveInputStream createArchiveInputStream(final InputStream in)
DArchiveStreamProvider.java60ArchiveInputStream createArchiveInputStream(final String name, final InputStream in, final String … in createArchiveInputStream()
DArchiveInputStream.java40 public abstract class ArchiveInputStream extends InputStream { class
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/compressors/
DPack200TestCase.java35 import org.apache.commons.compress.archivers.ArchiveInputStream;
74 final ArchiveInputStream in = new ArchiveStreamFactory() in jarUnarchiveAll()
129 final ArchiveInputStream in = new ArchiveStreamFactory() in jarArchiveCreation()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/examples/
DParameterizedArchiverTest.java37 import org.apache.commons.compress.archivers.ArchiveInputStream;
120ArchiveInputStream ais = new ArchiveStreamFactory().createArchiveInputStream(format, bis)) { in verifyContent()
DParameterizedExpanderTest.java37 import org.apache.commons.compress.archivers.ArchiveInputStream;
134ArchiveInputStream ais = new ArchiveStreamFactory().createArchiveInputStream(format, i)) { in archiveInputStreamVersion()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/examples/
DExpander.java35 import org.apache.commons.compress.archivers.ArchiveInputStream;
157 public void expand(final ArchiveInputStream archive, File targetDirectory) in expand()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/
DArArchiveInputStream.java26 import org.apache.commons.compress.archivers.ArchiveInputStream;
36 public class ArArchiveInputStream extends ArchiveInputStream {
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/arj/
DArjArchiveInputStream.java30 import org.apache.commons.compress.archivers.ArchiveInputStream;
42 public class ArjArchiveInputStream extends ArchiveInputStream {
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarArchiveInputStream.java33 import org.apache.commons.compress.archivers.ArchiveInputStream;
47 public class TarArchiveInputStream extends ArchiveInputStream {
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveInputStream.java26 import org.apache.commons.compress.archivers.ArchiveInputStream;
67 public class CpioArchiveInputStream extends ArchiveInputStream implements

12