Android examples for java.io:Directory
create nested Directory
//package com.java2s; import java.io.File; public class Main { public static boolean createDirs(String dirPath) { File file = new File(dirPath); if (!file.exists() || !file.isDirectory()) { return file.mkdirs(); }/*from w w w . j a v a2s .c o m*/ return true; } }