https://github.com/openmole/xz-scala
Scala facade of the tukaani.org/xz-java library.
https://github.com/openmole/xz-scala
Last synced: about 1 year ago
JSON representation
Scala facade of the tukaani.org/xz-java library.
- Host: GitHub
- URL: https://github.com/openmole/xz-scala
- Owner: openmole
- Created: 2019-08-02T20:02:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-03T08:58:31.000Z (over 6 years ago)
- Last Synced: 2025-02-01T01:53:10.703Z (over 1 year ago)
- Language: Scala
- Size: 108 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xz-scala
Scala facade of the tukaani.org/xz-java library.
## Compress a File
```scala
import fr.iscpif.xz._
val inputFile = new File(path/to/xzFile)
val xzFile = new File(path/to/output)
inputFile.compressXZ(xzFile)
```
## Extract a XZ file
```scala
import fr.iscpif.xz._
val xzfile = new File(path/to/xzFile)
val outputFile = new File(path/to/outputFile)
xzfile.extractXZ(outputFile)
```