public static void main(String[] args){
try {
File file = new File("test/pp/tt/asd.txt");
File parent = file.getParentFile();
if(parent!=null&&!parent.exists()){
parent.mkdirs();
}
file.createNewFile();
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}