(String path)
| 27 | } |
| 28 | |
| 29 | public static boolean exists(String path) { |
| 30 | return new File(path.replace("file://", "")).exists(); |
| 31 | } |
| 32 | |
| 33 | public static boolean exists(File file) { |
| 34 | return file != null && file.exists() && file.length() > 0; |
no test coverage detected