Home
last modified time | relevance | path

Searched refs:archiverName (Results 1 – 2 of 2) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/
DArchiveStreamFactory.java326 …public ArchiveInputStream createArchiveInputStream(final String archiverName, final InputStream in)
328 return createArchiveInputStream(archiverName, in, entryEncoding);
332 …public ArchiveInputStream createArchiveInputStream(final String archiverName, final InputStream in,
335 if (archiverName == null) {
343 if (AR.equalsIgnoreCase(archiverName)) {
346 if (ARJ.equalsIgnoreCase(archiverName)) {
352 if (ZIP.equalsIgnoreCase(archiverName)) {
358 if (TAR.equalsIgnoreCase(archiverName)) {
364 if (JAR.equalsIgnoreCase(archiverName)) {
370 if (CPIO.equalsIgnoreCase(archiverName)) {
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DIOMethodsTest.java111 … private void compareWrites(final String archiverName, final ArchiveEntry entry) throws Exception { in compareWrites() argument
115 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()
142 private void compareReads(final String archiverName) throws Exception { in compareReads() argument
146 final File file = createSingleEntryArchive(archiverName); in compareReads()
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()