-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum Platform extends 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
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JVM_PLATFORMWINDOWSUNIX
-
Method Summary
Modifier and Type Method Description abstract StringtoServerPath(Path path)final StringgetName()final IntegergetOrdinal()-
-
Method Detail
-
toServerPath
abstract String toServerPath(Path path)
-
getOrdinal
final Integer getOrdinal()
-
-
-
-