Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String fixturesRoot = Resources.getResource("mapping").getPath();
- final Path fixturesRootPath = Paths.get(fixturesRoot);
- Files.walk(fixturesRootPath)
- .filter(Files::isRegularFile)
- .map(path -> fixturesRootPath.relativize(path).toString())
- .collect(Collectors.toList());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement