FoldersFileName - ViiSE/papka GitHub Wiki

FoldersFileName

FoldersFileName - implementation which return list of folders name from full filename.

Constructors

No constructors.

Example

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

Links

FoldersFile - implementable interface.

⚠️ **GitHub.com Fallback** ⚠️