Home
last modified time | relevance | path

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

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/arj/
DArjArchiveEntry.java34 private final LocalFileHeader localFileHeader; field in ArjArchiveEntry
37 localFileHeader = new LocalFileHeader(); in ArjArchiveEntry()
40 ArjArchiveEntry(final LocalFileHeader localFileHeader) { in ArjArchiveEntry() argument
41 this.localFileHeader = localFileHeader; in ArjArchiveEntry()
53 if ((localFileHeader.arjFlags & LocalFileHeader.Flags.PATHSYM) != 0) { in getName()
54 return localFileHeader.name.replaceAll("/", in getName()
57 return localFileHeader.name; in getName()
67 return localFileHeader.originalSize; in getSize()
76 return localFileHeader.fileType == LocalFileHeader.FileTypes.DIRECTORY; in isDirectory()
96 final long ts = isHostOsUnix() ? localFileHeader.dateTimeModified * 1000L in getLastModifiedDate()
[all …]
DArjArchiveInputStream.java226 final LocalFileHeader localFileHeader = new LocalFileHeader(); in readLocalFileHeader() local
227 localFileHeader.archiverVersionNumber = firstHeader.readUnsignedByte(); in readLocalFileHeader()
228 localFileHeader.minVersionToExtract = firstHeader.readUnsignedByte(); in readLocalFileHeader()
229 localFileHeader.hostOS = firstHeader.readUnsignedByte(); in readLocalFileHeader()
230 localFileHeader.arjFlags = firstHeader.readUnsignedByte(); in readLocalFileHeader()
231 localFileHeader.method = firstHeader.readUnsignedByte(); in readLocalFileHeader()
232 localFileHeader.fileType = firstHeader.readUnsignedByte(); in readLocalFileHeader()
233 localFileHeader.reserved = firstHeader.readUnsignedByte(); in readLocalFileHeader()
234 localFileHeader.dateTimeModified = read32(firstHeader); in readLocalFileHeader()
235 localFileHeader.compressedSize = 0xffffFFFFL & read32(firstHeader); in readLocalFileHeader()
[all …]