Interface of a Compressor implementation usable with tools.io
.
Interface of a Compressor implementation usable with `tools.io`.
(-get-file-extensions _this)
Returns a collection of related file extensions.
Returns a collection of related file extensions.
(-get-input-stream _this input-stream options)
Returns a stream which uncompress an input stream.
Returns a stream which uncompress an input stream.
(-get-output-stream _this output-stream options)
Returns a stream which compress an output stream.
Returns a stream which compress an output stream.
(get-compressor file-extension)
Returns the compressor associated with a given file extension or nil.
Returns the compressor associated with a given file extension or nil.
(register-compressor! compressor)
Registers a new compressor implementation in the global registry.
Registers a new compressor implementation in the global registry.
(register-default-compressors!)
Register all default compressors.
Register all default compressors.
(unregister-compressor! compressor)
Unregisters a compressor from the global registry.
Unregisters a compressor from the global registry.
(unregister-default-compressors!)
Unregister all default compressors.
Unregister all default compressors.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close