FoldersFileName - ViiSE/papka GitHub Wiki
FoldersFileName - implementation which return list of folders name from full filename.
No constructors.
String filename = "/music/classic/chopin.mp3";
FoldersFile<String, String> foldersFile = new FoldersFileName();
List<String> folders = foldersFile.folders(filename);
folders.foreach(System.out::println);
Output:
/
music
classic
FoldersFile - implementable interface.