Takes a path and creates any in-between folders if they don't already exist. Useful when trying to save to a subfolder that may not actually exist.
(String path)
| 677 | * may not actually exist. |
| 678 | */ |
| 679 | static public void createPath(String path) { |
| 680 | createPath(new File(path)); |
| 681 | } |
| 682 | |
| 683 | |
| 684 | static public void createPath(File file) { |
no test coverage detected