public class CompressionUtilities extends Object
| Constructor and Description |
|---|
CompressionUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static File |
extract(File from,
File to,
boolean deleteArchive)
Extracts the given file into the given directory.
|
public static File extract(File from, File to, boolean deleteArchive) throws IOException
from - An archive file.to - The directory to extract the archive to.deleteArchive - Whether the archive file should be deleted after extraction.IOException - If the archive cannot be read or files cannot be created or deleted.Copyright © 2019 JULIE Lab, Germany. All rights reserved.