ArchiveGeneralLib class

ArchiveGeneralLib

Constructors

ArchiveGeneralLib()
ArchiveGeneralLib

Properties

archive → Archive
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addFile({required FileSystemEntity fileSystemEntity, required String name}) → void
add any file
addFilesByDirectory({required Directory directory, required Directory directoryBase, required ArchiveGeneralLibOptions archiveGeneralLibOptions}) → void
archive directory
close() → void
close
closeAsync() Future<void>
close async
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toZipBytes({required String? password, int level = Deflate.DEFAULT_COMPRESSION, OutputStreamBase? output, DateTime? modified, bool autoClose = true}) List<int>?
archive to zip bytes
zipDecoder({required String path, required String? password, required bool verify}) → Archive
decode zip

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

createArchiveZip({required Directory directory, required String? password, required File outPutFile, DateTime? modified, required ArchiveGeneralLibOptions archiveGeneralLibOptions}) File
create archive zip
createArchiveZipAsync({required Directory directory, required String? password, required File outPutFile, DateTime? modified, required ArchiveGeneralLibOptions archiveGeneralLibOptions}) Future<File>
create archive zip async
extractArchiveZip({required File archivedFile, required Directory directoryOutput, required String? password, required bool verify, required ArchiveGeneralLibOptions archiveGeneralLibOptions}) Directory
extract archive zip
extractArchiveZipAsync({required File archivedFile, required Directory directoryOutput, required String? password, bool verify = true, required ArchiveGeneralLibOptions archiveGeneralLibOptions}) Future<Directory>
extract archive zip async