Package com.yahoo.config.application
Class FileSystemWrapper
java.lang.Object
com.yahoo.config.application.FileSystemWrapper
Wraps a real or virtual file system — essentially a mapping from paths to bytes.
- Author:
- jonmv
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FileSystemWrappergetDefault(Path root) static FileSystemWrapperofFiles(Path root, Predicate<Path> existence, com.yahoo.yolean.function.ThrowingFunction<Path, byte[], IOException> reader)
-
Method Details
-
ofFiles
public static FileSystemWrapper ofFiles(Path root, Predicate<Path> existence, com.yahoo.yolean.function.ThrowingFunction<Path, byte[], IOException> reader) -
getDefault
-
wrap
-