public interface InputStreamSupplier
extends org.apache.commons.io.function.IOSupplier<InputStream>
| Modifier and Type | Method and Description |
|---|---|
static InputStreamSupplier |
fromPath(Path p,
boolean decompressToDisk) |
static InputStream |
getInputStream(Path fileName,
boolean decompressToDisk)
Gets the InputStream for the provided file path.
|
static InputStreamSupplier fromPath(Path p, boolean decompressToDisk)
static InputStream getInputStream(Path fileName,
boolean decompressToDisk)
fileName - Path to the file or gzipped file from which to get an
InputStream.decompressToDisk - To make certain operations faster, decompress the
file to disk first rather than to decompress through
the InputStream.