Package io.deephaven.engine.util
Class PathUtil
java.lang.Object
io.deephaven.engine.util.PathUtil
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PathUtil
public PathUtil()
-
-
Method Details
-
open
Opens a file, returning an input stream. Paths that end in ".tar.zip", ".tar.bz2", ".tar.gz", ".tar.7z", ".tar.zst", ".zip", ".bz2", ".gz", ".7z", ".zst", or ".tar" will have appropriate decompression applied. The returned stream may or may not be buffered.- Parameters:
path
- the path- Returns:
- the input stream, potentially decompressed
- Throws:
IOException
- if an I/O exception occurs- See Also:
-