OsWindows - ViiSE/papka GitHub Wiki

OsWindows

OsWindows - Windows OS.

Constructors

No constructors.

Example

Os os = new OsWindows();
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: C:
Separator:
    Pure: \
    Char: \
    Regex: \\
    Mirror: SeparatorUnix
FoldersFile: FoldersFileNameWin

Links

Os - implementable interface.