propertylist/IPropertylist: removed obsolete loadTextDB_sub()
[metux-java.git] / util / mkdir.java
bloba497c0ff04871ca1c92bcf2f6fb234dd5e6b520c
2 package org.de.metux.util;
4 import java.io.File;
6 public class mkdir
8 public static void mkdir_recursive(String name)
10 String absdir = new File(name).getAbsolutePath();
11 String[] pathnames = StrSplit.split(absdir,"/");
12 String mypath = "";
13 for (int x=0; x<pathnames.length; x++)
15 mypath += "/"+pathnames[x];
16 // System.err.println("Creating: "+mypath);
17 new File(mypath).mkdir();