public class FileSystemUtils
extends java.lang.Object
Constructor and Description |
---|
FileSystemUtils() |
Modifier and Type | Method and Description |
---|---|
static long |
pathDocumentCount(java.lang.String directory,
java.lang.String pattern) |
static java.util.function.Function<java.nio.file.Path,Document> |
pathToDocumentMapper(Lang lang,
java.lang.String encoding) |
static <T> java.util.stream.Stream<T> |
pathWalker(java.lang.String directory,
java.lang.String pattern,
java.util.function.Function<? super java.nio.file.Path,T> pathMapper) |
public static java.util.function.Function<java.nio.file.Path,Document> pathToDocumentMapper(Lang lang, java.lang.String encoding)
public static long pathDocumentCount(java.lang.String directory, java.lang.String pattern)
public static <T> java.util.stream.Stream<T> pathWalker(java.lang.String directory, java.lang.String pattern, java.util.function.Function<? super java.nio.file.Path,T> pathMapper)