java.lang.Object
io.quarkus.fs.util.FileSystemHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PathignoreFileWriteability(Path path) Wraps the given path with aPathWrapper, preventing file system writeability checks.static FileSystemopenFS(URI uri, Map<String, ?> env, ClassLoader classLoader) static FileSystemopenFS(Path path, Map<String, ?> env, ClassLoader classLoader)
-
Constructor Details
-
FileSystemHelper
public FileSystemHelper()
-
-
Method Details
-
openFS
public static FileSystem openFS(Path path, Map<String, ?> env, ClassLoader classLoader) throws IOException- Parameters:
path-env-classLoader-- Returns:
- Throws:
IOException
-
openFS
public static FileSystem openFS(URI uri, Map<String, ?> env, ClassLoader classLoader) throws IOException- Throws:
IOException
-
ignoreFileWriteability
Wraps the given path with aPathWrapper, preventing file system writeability checks.- Parameters:
path-- Returns:
-