public interface FuseBuilder
A platform-specific builder to create a FUSE file system.
-
Method Summary
Modifier and TypeMethodDescriptionbuild(FuseOperations fuseOperations) Creates a FUSE file system instanceerrno()The error constants used on the selected platform.static FuseBuilderFind a FuseBuilder that issupported on this platform.voidsetLibraryPath(@Nullable String libraryPath) Sets the location from which to load the fuse library.
-
Method Details
-
getSupported
Find a FuseBuilder that issupported on this platform.- Returns:
- Any supported builder
- Throws:
UnsupportedOperationException- Thrown if no supported builder could be found.
-
errno
-
setLibraryPath
Sets the location from which to load the fuse library. If omitted, the library may still be found on the library search path.- Parameters:
libraryPath- Location of the fuse library. May benullto try to load the library from default locations.
-
build
Creates a FUSE file system instance- Parameters:
fuseOperations- The file system operations- Returns:
- A mountable file system
- Throws:
UnsatisfiedLinkError- In case of errors while loading the fuse library
-