Compressor

object Compressor

Includes compression methods.

class Object
trait Matchable
class Any

Value members

Concrete methods

def deflate(in: File, out: File)(using bufferSize: BufferSize): Unit

Deflates input file to output file.

Deflates input file to output file.

Value parameters:
bufferSize

buffer size used in I/O operations

in

input file

out

output file

def deflate(in: Path, out: Path)(using bufferSize: BufferSize): Unit

Deflates input file to output file.

Deflates input file to output file.

Value parameters:
bufferSize

buffer size used in I/O operations

in

input file

out

output file

def deflate(in: InputStream, out: OutputStream)(using bufferSize: BufferSize): Unit

Deflates input stream to output stream.

Deflates input stream to output stream.

Value parameters:
bufferSize

buffer size used in I/O operations

in

input stream

out

output stream

Note:

This method does not close input and output streams.

def gunzip(in: File, out: File)(using bufferSize: BufferSize): Unit

Gunzips input file to output file.

Gunzips input file to output file.

Value parameters:
bufferSize

buffer size used in I/O operations

in

input file

out

output file

def gunzip(in: Path, out: Path)(using bufferSize: BufferSize): Unit

Gunzips input file to output file.

Gunzips input file to output file.

Value parameters:
bufferSize

buffer size used in I/O operations

in

input file

out

output file

def gunzip(in: InputStream, out: OutputStream)(using bufferSize: BufferSize): Unit

Gunzips input stream to output stream.

Gunzips input stream to output stream.

Value parameters:
bufferSize

buffer size used in I/O operations

in

input stream

out

output stream

Note:

This method does not close input and output streams.

def gzip(in: File, out: File)(using bufferSize: BufferSize): Unit

Gzips input file to output file.

Gzips input file to output file.

Value parameters:
bufferSize

buffer size used in I/O operations

in

input file

out

output file

def gzip(in: Path, out: Path)(using bufferSize: BufferSize): Unit

Gzips input file to output file.

Gzips input file to output file.

Value parameters:
bufferSize

buffer size used in I/O operations

in

input file

out

output file

def gzip(in: InputStream, out: OutputStream)(using bufferSize: BufferSize): Unit

Gzips input stream to output stream.

Gzips input stream to output stream.

Value parameters:
bufferSize

buffer size used in I/O operations

in

input stream

out

output stream

Note:

This method does not close input and output streams.

def inflate(in: File, out: File)(using bufferSize: BufferSize): Unit

Inflates input file to output file.

Inflates input file to output file.

Value parameters:
bufferSize

buffer size used in I/O operations

in

input file

out

output file

def inflate(in: Path, out: Path)(using bufferSize: BufferSize): Unit

Inflates input file to output file.

Inflates input file to output file.

Value parameters:
bufferSize

buffer size used in I/O operations

in

input file

out

output file

def inflate(in: InputStream, out: OutputStream)(using bufferSize: BufferSize): Unit

Inflates input stream to output stream.

Inflates input stream to output stream.

Value parameters:
bufferSize

buffer size used in I/O operations

in

input stream

out

output stream

Note:

This method does not close input and output streams.

def unzip(in: File, out: File)(using filter: FileFilter): Unit

Unzips input file to output directory.

Unzips input file to output directory.

Value parameters:
filter

file filter

in

input file

out

output directory

def unzip(in: Path, out: Path)(using matcher: PathMatcher): Unit

Unzips input file to output directory.

Unzips input file to output directory.

Value parameters:
in

input file

matcher

path matcher

out

output directory

def zip(in: File, out: File)(using filter: FileFilter): Unit

Zips all files in input directory (recursive) to output file.

Zips all files in input directory (recursive) to output file.

Value parameters:
filter

file filter

in

input directory

out

output file

def zip(in: Path, out: Path)(using matcher: PathMatcher): Unit

Zips all files in input directory (recursive) to output file.

Zips all files in input directory (recursive) to output file.

Value parameters:
in

input directory

matcher

path matcher

out

output file