public enum Platform
This enum is used to determine the file separator char which will be used when building the path to the file/directory to scan on the server filesystem. The possible values are:
UNIX: the file separator will be /
WINDOWS: the file separator will be \
JVM_PLATFORM: the file separator will be the same as the one of the platform the JVM is running on
| Modifier and Type | Class and Description |
|---|---|
static class |
Platform.JVM_PLATFORM |
static class |
Platform.UNIX |
static class |
Platform.WINDOWS |
| Enum Constant and Description |
|---|
JVM_PLATFORM |
UNIX |
WINDOWS |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toServerPath(java.nio.file.Path path) |