OsUnixLike - ViiSE/papka GitHub Wiki
OsUnixLike
OsUnixLike - Unix-like OS.
Constructors
No constructors.
Example
Os os = new OsUnixLike();
System.out.println("Root: " + os.root());
System.out.println("Separator: ");
System.out.println("\tPure: " + os.separator().pure());
System.out.println("\tChar: " + os.separator().charS());
System.out.println("\tRegex: " + os.separator().regex());
System.out.println("\tMirror: " + os.separator().mirror().getClass().getSimpleName());
System.out.println("FoldersFile: " + os.foldersFile().getClass().getSimpleName());
Output:
Root: /
Separator:
Pure: /
Char: /
Regex: /
Mirror: SeparatorWin
FoldersFile: FoldersFileName
Links
Os - implementable interface.