Creates a string with the path to a file. @param path The path to the file. @return A path using the operating system's file separator.
(String path)
| 110 | * @return A path using the operating system's file separator. |
| 111 | */ |
| 112 | public static String toFilePath(String path) { |
| 113 | return path.replace("/", File.separator); |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * Checks if a file exists on the file system. |
no outgoing calls
no test coverage detected