Class PlatformFileProvider
java.lang.Object
wtf.ranked.hytale.server.runner.platform.PlatformFileProvider
Provides the appropriate platform-specific file configuration based on the host operating system.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PlatformFileDetects the current operating system and returns its corresponding platform file.
-
Constructor Details
-
PlatformFileProvider
public PlatformFileProvider()
-
-
Method Details
-
getPlatformFile
Detects the current operating system and returns its corresponding platform file.- Returns:
- the platform file matching the current OS
- Throws:
NullPointerException- if the current operating system is not supported
-