MCPcopy Create free account
hub / github.com/ReadyTalk/avian / normalize

Method normalize

classpath/java/io/File.java:91–94  ·  view source on GitHub ↗
(String path)

Source from the content-addressed store, hash-verified

89 }
90
91 private static String normalize(String path) {
92 return stripSeparators
93 ("\\".equals(FileSeparator) ? path.replace('/', '\\') : path);
94 }
95
96 public static native boolean rename(String old, String new_);
97

Callers 2

FileMethod · 0.95
getParentMethod · 0.95

Calls 3

stripSeparatorsMethod · 0.95
equalsMethod · 0.65
replaceMethod · 0.65

Tested by

no test coverage detected