Platforms to show: All Mac Windows Linux Cross-Platform
ArchiveEntryMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Archive | MBS Compression Plugin | 16.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
- 52 properties
- property ADateTime as DateTime
- property ATime as Date
- property ATimeSet as Boolean
- property BDateTime as DateTime
- property BTime as Date
- property BTimeSet as Boolean
- property CDateTime as DateTime
- property CTime as Date
- property CTimeSet as Boolean
- property Dev as Integer
- property DevMajor as Integer
- property DevMinor as Integer
- property DevSet as Boolean
- property FFlags as String
- property FileName as String
- property FileType as Integer
- property FileTypeSet as Boolean New in 24.5
- property GID as Int64
- property GIDSet as Boolean New in 24.5
- property GName as String
- property Handle as Integer
- property HardLink as String
- property HardLinkSet as Boolean New in 24.5
- property INo as Int64
- property INo64 as Int64
- property INoSet as Boolean
- property IsDataEncrypted as Boolean
- property IsMetaDataEncrypted as Boolean
- property MacMetadata as MemoryBlock
- property MDateTime as DateTime
- property Mode as Integer
- property ModeString as String
- property MTime as Date
- property MTimeSet as Boolean
- property NLink as Integer
- property PathName as String
- property Permissions as Integer
- property PermissionsSet as Boolean New in 24.5
- property RDev as Integer
- property RDevMajor as Integer
- property RDevMinor as Integer
- property RDevSet as Boolean New in 24.5
- property Size as UInt64
- property SizeSet as Boolean
- property SourcePath as String
- property Stat as MemoryBlock
- property SymLink as String
- property SymlinkType as Integer
- property UID as UInt64
- property UIDSet as Boolean New in 24.5
- property UName as String
- property XAttrCount as Integer
- 20 methods
- method Clear
- method ClearACL
- method ClearXAttr
- method Clone as ArchiveEntryMBS
- method Constructor
- method Constructor(Archive as ArchiverMBS)
- method Destructor
- method GetFFlags(byref FlagsSet as UInt64, byref FlagsClear as UInt64)
- method SetFFlags(FlagsSet as UInt64, FlagsClear as UInt64)
- method SetLink(link as string)
- method UnsetATime
- method UnsetBTime
- method UnsetCTime
- method UnsetGName
- method UnsetHardLink
- method UnsetMTime
- method UnsetPathName
- method UnsetSize
- method UnsetSymLink
- method UnsetUName
- 11 constants
File Types
Constant | Value | Description |
---|---|---|
kFileTypeBlock | &o0060000 |
Block device. |
kFileTypeCharacter | &o0020000 |
Character device. |
kFileTypeDirectory | &o0040000 |
Directory |
kFileTypeIFO | &o0010000 |
Named pipe (fifo) |
kFileTypeLink | &o0120000 |
Symbolic link |
kFileTypeMT | &o0170000 |
MT? |
kFileTypeRegular | &o0100000 |
Regular file. |
kFileTypeSOCK | &o0140000 |
Socket |
Symlink Types
Constant | Value | Description |
---|---|---|
kSymlinkTypeDirectory | 2 |
Symlink is a directory. |
kSymlinkTypeFile | 1 |
Symlink is a file. |
kSymlinkTypeUndefined | 0 |
Symlink is of unknown type. |
This class has no sub classes.
Some methods using this class:
- ArchiveReaderMBS.Extract(Entry as ArchiveEntryMBS, DestArchive as ArchiverMBS)
- ArchiveReaderMBS.Extract(Entry as ArchiveEntryMBS, flags as Integer = &h123F7)
- ArchiveReaderMBS.NextHeader(entry as ArchiveEntryMBS = nil) as ArchiveEntryMBS
- ArchiveWriterMBS.WriteHeader(Entry as ArchiveEntryMBS)
Some events using this class:
- ArchiveReaderMBS.ExtractProgress(entry as ArchiveEntryMBS)
Some examples using this class:
- /Compression/Archive/archive
- /Compression/Archive/CreateArchive iOS
- /Compression/Archive/Extract files in Archive
- /Compression/Archive/List Files in Archive
- /Compression/Archive/untar
- /Compression/Archive/untar with extract
- /Compression/Archive/Write encrypted zip Archive
- /Compression/Archive/Write tar Archive
- /Compression/Archive/Write zip Archive
Blog Entries
- MBS Xojo Plugins, version 20.5pr6
- MBS Xojo Plugins, version 19.2pr7
- New Archive classes for handling zip and tar archives
Xojo Developer Magazine
- 19.4, page 83: Archives in Xojo, How to Use Zip Archives by Stefanie Juchmes
- 19.4, page 81: Archives in Xojo, How to Use Zip Archives by Stefanie Juchmes
Release notes
- Version 24.5
- Added more properties for ArchiveEntryMBS class.
- Version 20.5
- Added ADateTime, BDateTime, CDateTime and MDateTime properties to ArchiveEntryMBS class.
- Version 19.2
- Fixed endless loop in ArchiveEntryMBS.fileName getter in some cases.
The items on this page are in the following plugins: MBS Compression Plugin.
AppReceiptVerificatorMBS - ArchiveReadDiskMBS