Class PathNorm
java.lang.Object
eu.mrapik.minecraftservermcp.config.PathNorm
Normalizes user-provided path fragments so comparisons use forward slashes regardless of OS separator.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringnormalizeSlashes(String path) Normalizes separators for cross-platform config comparisons.
-
Method Details
-
normalizeSlashes
Normalizes separators for cross-platform config comparisons.- Parameters:
path- raw path fragment- Returns:
- path with backslashes replaced by forward slashes
-