eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ZipArchive::ZipMember':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ZipMember (private in ZipArchive

This class is only visible from within ZipArchive.

Inheritance:

   Object
   |
   +--ZipArchive::ZipMember

Package:
stx:libbasic2
Category:
System-Support-FileFormats
Owner:
ZipArchive

Description:


keeps some information for a single entry in a zipFile.
see eg. https://users.cs.jmu.edu/buchhofp/forensics/formats/pkzip.html


Instance protocol:

accessing
o  compressedSize

o  compressedSize: something

o  compressionMethod

o  compressionMethod: a16bitInteger
Modified (format): / 09-06-2023 / 18:33:34 / cg

o  crc32

o  crc32: something

o  data

o  data: something

o  dataStart
tell the file offset, where the data of this zip entry starts

o  dataStart: something
set the value of the instance variable 'dataStart' (automatically generated)

o  diskNumberStart

o  diskNumberStart: a16bitInteger
Modified (format): / 09-06-2023 / 18:34:53 / cg

o  externalFileAttributes

o  externalFileAttributes: something

o  extraField

o  extraField: something

o  extraFieldLength

o  extraFieldLength: a16bitInteger
Modified (format): / 09-06-2023 / 18:34:24 / cg

o  fileComment

o  fileComment: something

o  fileCommentLength

o  fileCommentLength: a16bitInteger
Modified (format): / 09-06-2023 / 18:34:37 / cg

o  fileName
answer the plain file name string (not utf8 encoded)

o  fileName: aString
set the plain file name string (not utf8 encoded)

o  fileNameLength
marked as obsolete by Stefan Vogel at 2-Mai-2023

** This is an obsolete interface - do not use it (it may vanish in future versions) **

o  fileNameLength: anInteger
marked as obsolete by Stefan Vogel at 2-Mai-2023

** This is an obsolete interface - do not use it (it may vanish in future versions) **

o  generalPurposBitFlag

o  generalPurposBitFlag: a16bitInteger
Modified (format): / 09-06-2023 / 18:33:24 / cg

o  getModificationTimeAndDate
data and time in msdos format

o  internalFileAttributes

o  internalFileAttributes: a16bitInteger
Modified (format): / 09-06-2023 / 18:35:10 / cg

o  lastModFileDate

o  lastModFileDate: a16bitInteger
Modified (format): / 09-06-2023 / 18:32:35 / cg

o  lastModFileTime

o  lastModFileTime: a16bitInteger
Modified (format): / 09-06-2023 / 18:32:40 / cg

o  modificationDate

o  modificationTime

o  modificationTimestamp

o  next
return the value of the instance variable 'next' (automatically generated)

o  next: something
set the value of the instance variable 'next' (automatically generated)

o  relativeLocalHeaderOffset

o  relativeLocalHeaderOffset: something

o  setModificationTimeAndDateToNow
data and time in msdos format

o  setModificationTimeAndDateToTimestamp: aTimestamp
data and time in msdos format

o  uncompressedSize

o  uncompressedSize: something

o  utf8EncodedFileName
answer the utf8 encoded file name string to be stored in the zip archive

o  utf8EncodedFileName: aString
set the file name string as stored in the zip archive.
aString may be utf8 encoded - decode.

o  versionMadeBy

o  versionMadeBy: a16bitInteger
Modified (format): / 09-06-2023 / 18:32:52 / cg

o  versionNeedToExtract

o  versionNeedToExtract: a16bitInteger
Modified (format): / 09-06-2023 / 18:33:10 / cg

encoding & decoding
o  skippedInJSONEncoding
return the names of inst-slots which are to be skipped when generating a jsonEncoding;
(to skip the ones with default or irrelevant values.)

initialization
o  default

printing & storing
o  printOn: aStream
(comment from inherited method)
append a user printed representation of the receiver to aStream.
The format is suitable for a human - not meant to be read back.

The default here is to output the receiver's class name.
BUT: this method is heavily redefined for objects which
can print prettier.

queries
o  isDirectory

reading & writing
o  readCentralDirectoryEntryFrom: aStream
read a central directory entry

o  rewriteCrcAndSizeTo: aStream
Header has already been written - now rewrite CRC and sizes

o  writeTo: aStream position: absolutePosition startOfArchive: startOfArchive
represent myself on aStream



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 15:38:11 GMT