public class GZipFiles extends Object
| Constructor and Description |
|---|
GZipFiles() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isGzip(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 isGzip(File f)
public static Stream<String> lines(Path path)
Files.lines(java.nio.file.Path).path - The path to the gzipped file.Copyright © 2017–2021 Apache Software Foundation. All rights reserved.