back to io 

wxZipEntry

generated from ../src/mod_io/zipentry.cpp

Holds the meta-data for an entry in a zip.

Constants

wxZipAttributes

Name Description
RDONLY
HIDDEN
SYSTEM
SUBDIR
ARCH
MASK

wxZipAttributes is ported as a separate JavaScript object

wxZipFlags

Name Description
ENCRYPTED
DEFLATE_NORMAL
DEFLATE_EXTRA
DEFLATE_FAST
DEFLATE_SUPERFAST
DEFLATE_MASK
SUMS_FOLLOW
ENHANCED
PATCH
STRONG_ENC
UNUSED
RESERVED

wxZipFlags is ported as a separate JavaScript object.

wxZipMethod

Name Description
STORE
SHRINK
REDUCE1
REDUCE2
REDUCE3
REDUCE4
IMPLODE
TOKENIZE
DEFLATE
DEFLATE64
BZIP2
DEFAULT

Compression Mode. wxZipMethod is ported as a separate JavaScript class.

wxZipSystem

Name Description
MSDOS
AMIGA
OPENVMS
UNIX
VM_CMS
ATARI_ST
OS2_HPFS
MACINTOSH
Z_SYSTEM
CPM
WINDOWS_NTFS
MVS
VSE
ACORN_RISC
VFAT
ALTERNATE_MVS
BEOS
TANDEM
OS_400

Originating File-System. wxZipSystem is ported as a separate JavaScript object.

Constructor

wxZipEntry

wxZipEntry(Name = "", 
           Date = Now(), 
           Offset = -1)
 
Name Type Default Description
Name String
Date Date Now()
Offset Integer -1

Creates a new wxZipEntry

Properties

Name Type Description
comment String Get/Set a short comment for this entry.
compressedSize read only Integer The compressed size of this entry in bytes.
crc read only Integer CRC32 for this entry's data.
externalAttributes read only Integer Attributes of the entry. See wxZipAttributes.
extra String The extra field is used to store platform or application specific data. See Pkware's document 'appnote.txt' for information on its format.
flags read only Integer see wxZipFlags
localExtra String The extra field is used to store platform or application specific data. See Pkware's document 'appnote.txt' for information on its format.
madeByUnix read only Boolean Returns true if systemMadeBy is a flavour of unix.
method Integer The compression method. See wxZipMethod.
mode Integer
systemMadeBy Integer The originating file-system. The default constructor sets this to wxZipSystem.MSDOS. Set it to wxZipSystem.UNIX in order to be able to store unix permissions using mode.
text Boolean Indicates that this entry's data is text in an 8-bit encoding.



Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.