dirSep property

String dirSep
final

Directory separator, platform-dependent.

This attribute is defined as backslash ("") on Windows and forwart slash ("/") on all other platforms (which are Unix-based).

Implementation

static final String dirSep = Platform.isWindows ? "\\" : "/";