Takes two paths and combines them into a valid path string for the current OS. Similar to the Path.Combine() function in .Net.
(String path1, String path2)
| 51 | * Similar to the Path.Combine() function in .Net. |
| 52 | */ |
| 53 | public static String pathCombine(String path1, String path2) { |
| 54 | File file1 = new File(path1); |
| 55 | File file2 = new File(file1, path2); |
| 56 | return file2.getPath(); |
| 57 | } |
| 58 | |
| 59 | /** |
| 60 | * <p> |
no test coverage detected