Cabinet
Object Hierarchy:
Description:
[
CCode ( type_id =
"gcab_cabinet_get_type ()" ) ]
public class Cabinet :
Object
An opaque object holding a Cabinet file reference.
Content:
Properties:
Creation methods:
Methods:
- public void add_allowed_compression (Compression compression)
Adds a compression kind to the allow-list.
- public bool add_folder (Folder folder) throws Error
Add folder to this.
- public bool extract (File? path, FileCallback? file_callback, FileProgressCallback? progress_callback, Cancellable? cancellable = null) throws Error
Extract files to given path.
- public bool extract_simple (File path, FileCallback? file_callback, Cancellable? cancellable = null) throws Error
Extract files to given path.
- public unowned GenericArray<Folder> get_folders ()
Get the Cabinet folders within the this
.
- public unowned ByteArray get_signature (Cancellable? cancellable = null) throws Error
Lookup the cabinet authenticode signature if any.
- public uint32 get_size ()
Get the size of the compressed cabinet file.
- public bool load (InputStream stream, Cancellable? cancellable = null) throws Error
Load a cabinet archive.
- public bool write (OutputStream stream, FileCallback? file_callback, FileProgressCallback? progress_callback, Cancellable? cancellable = null) throws Error
Save this to the output stream
out.
- public bool write_simple (OutputStream stream, FileCallback? file_callback, Cancellable? cancellable = null) throws Error
Save this to the output stream
out.
Inherited Members:
All known members inherited from class GLib.Object