CurrentDirectory - ViiSE/papka GitHub Wiki
CurrentDirectory - directory where the program is being executed.
public CurrentDirectory(Separator separator)
Separator separator - OS separator.
Directory<String> dir = new CurrentDirectory(new SeparatorUnix());
String dirName = dir.name();
System.out.println(dirName);
Output:
/home/viise/papka/
Directory - implementable interface.
Separator - constructor argument.