Class FilesStream
- java.lang.Object
-
- org.apache.karaf.util.filesstream.FilesStream
-
public final class FilesStream extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stream<Path>stream(String fileNames)Returns a stream of Paths for the given fileNames.
-
-
-
Method Detail
-
stream
public static Stream<Path> stream(String fileNames)
Returns a stream of Paths for the given fileNames. The given names can be delimited by ",". A name can also containFileSystem.getPathMatcher(java.lang.String)syntax to refer to matching files.- Parameters:
fileNames- list of names- Returns:
- Paths to the scripts
-
-