()
| 358 | /// |
| 359 | /// True on success. |
| 360 | public boolean mkdirs() { |
| 361 | File parentFile = getParentFile(); |
| 362 | if (parentFile != null && !parentFile.exists()) { |
| 363 | boolean res = getParentFile().mkdirs(); |
| 364 | if (!res) { |
| 365 | return res; |
| 366 | } |
| 367 | } |
| 368 | return mkdir(); |
| 369 | } |
| 370 | |
| 371 | /// Renames the file to the provided file object. |
| 372 | /// |
no test coverage detected