Class: Gio::ZlibCompressor
- Inherits:
-
Object
- Object
- Gio::ZlibCompressor
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#file_info ⇒ Gio::FileInfo
If set to a non-nil GFile::Info object, and #GZlibCompressor:format is %G_ZLIB_COMPRESSOR_FORMAT_GZIP, the compressor will write the file name and modification time from the file info to the GZIP header.
-
#file_info=(file_info) ⇒ Gio::FileInfo
If set to a non-nil GFile::Info object, and #GZlibCompressor:format is %G_ZLIB_COMPRESSOR_FORMAT_GZIP, the compressor will write the file name and modification time from the file info to the GZIP header.
-
#format ⇒ Gio::ZlibCompressorFormat
The format of the compressed data.
-
#format=(format) ⇒ Gio::ZlibCompressorFormat
The format of the compressed data.
-
#initialize(format, level) ⇒ Gio::ZlibCompressor
constructor
Creates a new GZlib::Compressor.
-
#level ⇒ Integer
The level of compression from
0(no compression) to9(most compression). -
#level=(level) ⇒ Integer
The level of compression from
0(no compression) to9(most compression).
Constructor Details
#initialize(format, level) ⇒ Gio::ZlibCompressor
Creates a new GZlib::Compressor.
Instance Method Details
#file_info ⇒ Gio::FileInfo
If set to a non-nil GFile::Info object, and #GZlibCompressor:format is %G_ZLIB_COMPRESSOR_FORMAT_GZIP, the compressor will write the file name and modification time from the file info to the GZIP header.
#file_info=(file_info) ⇒ Gio::FileInfo
If set to a non-nil GFile::Info object, and #GZlibCompressor:format is %G_ZLIB_COMPRESSOR_FORMAT_GZIP, the compressor will write the file name and modification time from the file info to the GZIP header.
#format ⇒ Gio::ZlibCompressorFormat
The format of the compressed data.
#format=(format) ⇒ Gio::ZlibCompressorFormat
The format of the compressed data.
#level ⇒ Integer
The level of compression from 0 (no compression) to 9 (most
compression). -1 for the default level.
#level=(level) ⇒ Integer
The level of compression from 0 (no compression) to 9 (most
compression). -1 for the default level.