SeparatorUnix - ViiSE/papka GitHub Wiki

SeparatorUnix

SeparatorUnix - Separator for Unix-like OS.

Constructors

No constructors.

Example

Separator separator = new SeparatorUnix();
System.out.println("Pure: " + os.separator().pure());
System.out.println("Char: " + os.separator().charS());
System.out.println("Regex: " + os.separator().regex());
System.out.println("Mirror: " + os.separator().mirror().getClass().getSimpleName());
Output:
Pure: /
Char: /
Regex: /
Mirror: SeparatorWin

Links

Separator - implementable interface.