private String getOSPath(String path) {
    if (pathIsWindows(path)) {
      return path.replace('/', '\\');
    } else {
      return path.replace('\\', '/');
    }
  }
Translates the path between Windows and UNIX.
geode-core/src/main/java/org/apache/geode/admin/internal/EnabledManagedEntityController.java