Home
last modified time | relevance | path

Searched refs:TarArchiveEntry (Results 1 – 18 of 18) sorted by relevance

/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/tar/
DTarArchiveOutputStreamTest.java64 final TarArchiveEntry sEntry = new TarArchiveEntry(file1, file1.getName()); in testCount()
84 final TarArchiveEntry t = new TarArchiveEntry("foo"); in testMaxFileSizeError()
100 final TarArchiveEntry t = new TarArchiveEntry("foo"); in testBigNumberStarMode()
116 final TarArchiveEntry e = tin.getNextTarEntry(); in testBigNumberStarMode()
126 final TarArchiveEntry t = new TarArchiveEntry("foo"); in testBigNumberPosixMode()
144 final TarArchiveEntry e = tin.getNextTarEntry(); in testBigNumberPosixMode()
207 tos.writePaxHeaders(new TarArchiveEntry("x"), "foo", m); in writePaxHeader()
210 final TarArchiveEntry t = new TarArchiveEntry("foo"); in writePaxHeader()
225 final TarArchiveEntry t = in testWriteLongFileNamePosixMode()
226 new TarArchiveEntry(n); in testWriteLongFileNamePosixMode()
[all …]
DTarArchiveEntryTest.java55 final TarArchiveEntry t = new TarArchiveEntry(new File(ROOT)); in testFileSystemRoot()
67 TarArchiveEntry t = new TarArchiveEntry(new File(ROOT)); in testTarFileWithFSRoot()
70 t = new TarArchiveEntry(new File(new File(ROOT), "foo.txt")); in testTarFileWithFSRoot()
75 t = new TarArchiveEntry(new File(new File(ROOT), "bar.txt") in testTarFileWithFSRoot()
81 t = new TarArchiveEntry("dummy"); in testTarFileWithFSRoot()
121 final TarArchiveEntry t = new TarArchiveEntry(""); in testMaxFileSize()
137 TarArchiveEntry entry = new TarArchiveEntry("./weasels"); in testExtraPaxHeaders()
174 final TarArchiveEntry t = new TarArchiveEntry("/foo", LF_GNUTYPE_LONGNAME); in testLinkFlagConstructor()
181 final TarArchiveEntry t = new TarArchiveEntry("/foo", LF_NORMAL); in testLinkFlagConstructorWithFileFlag()
188 final TarArchiveEntry t = new TarArchiveEntry("/foo", LF_GNUTYPE_LONGNAME, in testLinkFlagConstructorWithPreserve()
[all …]
DTarArchiveInputStreamTest.java117 TarArchiveEntry tae = in.getNextTarEntry(); in workaroundForBrokenTimeHeader()
145 final TarArchiveEntry tae = in.getNextTarEntry(); in datePriorToEpoch()
162 TarArchiveEntry entry = tar.getNextTarEntry(); in testCompress197()
182 TarArchiveEntry t = new TarArchiveEntry(name); in shouldUseSpecifiedEncodingWhenReadingGNULongNames()
221 TarArchiveEntry entry = tar.getNextTarEntry(); in readsArchiveCompletely_COMPRESS245()
239 TarArchiveEntry entry = is.getNextTarEntry(); in shouldThrowAnExceptionOnTruncatedEntries()
263 TarArchiveEntry t = new TarArchiveEntry("name"); in shouldReadBigGid()
285 final TarArchiveEntry entry = is.getNextTarEntry(); in shouldReadGNULongNameEntryWithWrongName()
300 final TarArchiveEntry entry = is.getNextTarEntry(); in survivesBlankLinesInPaxHeader()
312 final TarArchiveEntry entry = is.getNextTarEntry(); in survivesPaxHeaderWithNameEndingInSlash()
[all …]
DSparseFilesTest.java37 final TarArchiveEntry ae = tin.getNextTarEntry(); in testOldGNU()
67 final TarArchiveEntry ae = tin.getNextTarEntry(); in assertPaxGNUEntry()
DBigFilesIT.java55 final TarArchiveEntry e = tin.getNextTarEntry(); in readFileHeadersOfArchiveBiggerThan8GByte()
80 final TarArchiveEntry e = tin.getNextTarEntry(); in readFileBiggerThan8GByte()
DTarLister.java54 TarArchiveEntry ae; in main()
66 private static void log(final TarArchiveEntry ae) { in log()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/
DTarTestCase.java31 import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
46 final TarArchiveEntry entry = new TarArchiveEntry("testdata/test1.xml"); in testTarArchiveCreation()
70 final TarArchiveEntry entry = new TarArchiveEntry(name); in testTarArchiveLongNameCreation()
93 final TarArchiveEntry entry2 = new TarArchiveEntry(toLongName); in testTarArchiveLongNameCreation()
118 final TarArchiveEntry entry = (TarArchiveEntry)in.getNextEntry(); in testTarUnarchive()
131 TarArchiveEntry entry = (TarArchiveEntry)in.getNextEntry(); in testCOMPRESS114()
133 entry = (TarArchiveEntry)in.getNextEntry(); in testCOMPRESS114()
149 final TarArchiveEntry in = new TarArchiveEntry(tmp[0], "foo"); in testDirectoryEntryFromFile()
155 final TarArchiveEntry out = tis.getNextTarEntry(); in testDirectoryEntryFromFile()
189 final TarArchiveEntry in = new TarArchiveEntry("foo/"); in testExplicitDirectoryEntry()
[all …]
DLongPathTest.java38 import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
108 if (entry instanceof TarArchiveEntry) { in getExpectedString()
109 final TarArchiveEntry tarEntry = (TarArchiveEntry) entry; in getExpectedString()
DLongSymLinkTest.java38 import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
107 if (entry instanceof TarArchiveEntry) { in getExpectedString()
108 final TarArchiveEntry tarEntry = (TarArchiveEntry) entry; in getExpectedString()
DArchiveOutputStreamTest.java34 import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
82 aos1.putArchiveEntry(new TarArchiveEntry("dummy")); in testFinish()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarArchiveEntry.java146 public class TarArchiveEntry implements ArchiveEntry, TarConstants { class
147 private static final TarArchiveEntry[] EMPTY_TAR_ARCHIVE_ENTRIES = new TarArchiveEntry[0];
230 private TarArchiveEntry(boolean preserveAbsolutePath) { in TarArchiveEntry() method in TarArchiveEntry
252 public TarArchiveEntry(final String name) { in TarArchiveEntry() method in TarArchiveEntry
271 public TarArchiveEntry(String name, final boolean preserveAbsolutePath) { in TarArchiveEntry() method in TarArchiveEntry
295 public TarArchiveEntry(final String name, final byte linkFlag) { in TarArchiveEntry() method in TarArchiveEntry
314 …public TarArchiveEntry(final String name, final byte linkFlag, final boolean preserveAbsolutePath)… in TarArchiveEntry() method in TarArchiveEntry
336 public TarArchiveEntry(final File file) { in TarArchiveEntry() method in TarArchiveEntry
353 public TarArchiveEntry(final File file, final String fileName) { in TarArchiveEntry() method in TarArchiveEntry
386 public TarArchiveEntry(final byte[] headerBuf) { in TarArchiveEntry() method in TarArchiveEntry
[all …]
DTarArchiveOutputStream.java344 final TarArchiveEntry entry = (TarArchiveEntry) archiveEntry; in putArchiveEntry()
463 void writePaxHeaders(final TarArchiveEntry entry, in writePaxHeaders()
470 final TarArchiveEntry pex = new TarArchiveEntry(name, in writePaxHeaders()
551 return new TarArchiveEntry(inputFile, entryName); in createArchiveEntry()
582 final TarArchiveEntry entry) { in addPaxHeadersForBigNumbers()
609 private void failForBigNumbers(final TarArchiveEntry entry) { in failForBigNumbers()
659 private boolean handleLongName(final TarArchiveEntry entry, final String name, in handleLongName()
673 final TarArchiveEntry longLinkEntry = new TarArchiveEntry(TarConstants.GNU_LONGLINK, in handleLongName()
691 private void transferModTime(final TarArchiveEntry from, final TarArchiveEntry to) { in transferModTime()
DTarArchiveInputStream.java72 private TarArchiveEntry currEntry;
261 public TarArchiveEntry getNextTarEntry() throws IOException { in getNextTarEntry()
283 currEntry = new TarArchiveEntry(headerBuf, zipEncoding); in getNextTarEntry()
630 if (ae instanceof TarArchiveEntry) { in canReadEntryData()
631 final TarArchiveEntry te = (TarArchiveEntry) ae; in canReadEntryData()
642 public TarArchiveEntry getCurrentEntry() { in getCurrentEntry()
646 protected final void setCurrentEntry(final TarArchiveEntry e) { in setCurrentEntry()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/
DChainingTestCase.java26 import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
39 final TarArchiveEntry entry = (TarArchiveEntry)is.getNextEntry(); in testTarGzip()
49 final TarArchiveEntry entry = (TarArchiveEntry)is.getNextEntry(); in testTarBzip2()
DIOMethodsTest.java35 import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
75 final TarArchiveEntry entry = new TarArchiveEntry("dummy"); in testWriteTar()
/external/apache-commons-compress/
DRELEASE-NOTES.txt155 o TarArchiveEntry's preserveLeadingSlashes constructor argument
327 o Clarified which TarArchiveEntry methods are useless for
365 o TarArchiveEntry wastefully allocates empty arrays.
408 o TarArchiveEntry's preserveLeadingSlashes is now a property and used
510 o TarArchiveEntry's constructor with a File and a String arg
834 o TarArchiveEntry now has a method to verify its checksum.
845 o TarArchiveEntry has a new constructor that allows setting linkFlag
969 o COMPRESS-122: TarArchiveEntry provides access to the flags that determine
1030 o A new constructor of TarArchiveEntry can create entries with
1038 o COMPRESS-113: TarArchiveEntry.parseTarHeader() includes the trailing space/NUL when parsing the …
/external/apache-commons-compress/src/changes/
Drelease-notes.vm434 o TarArchiveEntry now has a method to verify its checksum.
445 o TarArchiveEntry has a new constructor that allows setting linkFlag
569 o COMPRESS-122: TarArchiveEntry provides access to the flags that determine
630 o A new constructor of TarArchiveEntry can create entries with
638 o COMPRESS-113: TarArchiveEntry.parseTarHeader() includes the trailing space/NUL when parsing the …
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/changes/
DChangeSetTestCase.java41 import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
865 final TarArchiveEntry entry = new TarArchiveEntry( in testDeleteFromAndAddToTar()