Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. String fixturesRoot = Resources.getResource("mapping").getPath();
  2. final Path fixturesRootPath = Paths.get(fixturesRoot);
  3. Files.walk(fixturesRootPath)
  4. .filter(Files::isRegularFile)
  5. .map(path -> fixturesRootPath.relativize(path).toString())
  6. .collect(Collectors.toList());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement