public class ZipFiles extends Object
| Constructor and Description |
|---|
ZipFiles() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isZip(File f)
Returns true if the given file is a gzip file.
|
static Stream<String> |
lines(Path path)
Get a lazily loaded stream of lines from a gzipped file, similar to
Files.lines(java.nio.file.Path). |
public static boolean isZip(File f)
public static Stream<String> lines(Path path)
Files.lines(java.nio.file.Path).path - The path to the zipped file.Copyright © 2017–2022 Apache Software Foundation. All rights reserved.