(String filePath)
| 400 | return path; |
| 401 | } |
| 402 | private static void mkdirsForFile(String filePath){ |
| 403 | String absPath=filePath; |
| 404 | String tmpPath=absPath.substring(0,absPath.lastIndexOf(File.separator)); |
| 405 | File tmp=new File(tmpPath); |
| 406 | if(!tmp.exists()){ |
| 407 | tmp.mkdirs(); |
| 408 | } |
| 409 | } |
| 410 | |
| 411 | |
| 412 |