author | wenzelm |
Sun, 30 Apr 2017 09:23:03 +0200 | |
changeset 65641 | 3b0110e25745 |
parent 64004 | b4ece7a3f2ca |
child 68018 | 3747fe57eb67 |
permissions | -rw-r--r-- |
64000 | 1 |
/* Title: Pure/General/xz.scala |
52671
9a360530eac8
separate module XZ_File to avoid initial dependency on org.tukaani.xz;
wenzelm
parents:
diff
changeset
|
2 |
Author: Makarius |
9a360530eac8
separate module XZ_File to avoid initial dependency on org.tukaani.xz;
wenzelm
parents:
diff
changeset
|
3 |
|
64002 | 4 |
Support for XZ data compression. |
52671
9a360530eac8
separate module XZ_File to avoid initial dependency on org.tukaani.xz;
wenzelm
parents:
diff
changeset
|
5 |
*/ |
9a360530eac8
separate module XZ_File to avoid initial dependency on org.tukaani.xz;
wenzelm
parents:
diff
changeset
|
6 |
|
9a360530eac8
separate module XZ_File to avoid initial dependency on org.tukaani.xz;
wenzelm
parents:
diff
changeset
|
7 |
package isabelle |
9a360530eac8
separate module XZ_File to avoid initial dependency on org.tukaani.xz;
wenzelm
parents:
diff
changeset
|
8 |
|
9a360530eac8
separate module XZ_File to avoid initial dependency on org.tukaani.xz;
wenzelm
parents:
diff
changeset
|
9 |
|
64002 | 10 |
import org.tukaani.xz.LZMA2Options |
52671
9a360530eac8
separate module XZ_File to avoid initial dependency on org.tukaani.xz;
wenzelm
parents:
diff
changeset
|
11 |
|
9a360530eac8
separate module XZ_File to avoid initial dependency on org.tukaani.xz;
wenzelm
parents:
diff
changeset
|
12 |
|
64000 | 13 |
object XZ |
52671
9a360530eac8
separate module XZ_File to avoid initial dependency on org.tukaani.xz;
wenzelm
parents:
diff
changeset
|
14 |
{ |
64002 | 15 |
type Options = LZMA2Options |
16 |
||
64004 | 17 |
def options(preset: Int = 3): Options = |
64000 | 18 |
{ |
19 |
val opts = new LZMA2Options |
|
20 |
opts.setPreset(preset) |
|
21 |
opts |
|
22 |
} |
|
52671
9a360530eac8
separate module XZ_File to avoid initial dependency on org.tukaani.xz;
wenzelm
parents:
diff
changeset
|
23 |
} |