public void delAll(String path)
 {

		File file = new File(path);
		
		if (file.isFile() || (file.list().length == 0)) {
			file.delete();
		} else {
			
			String[] files = file.list();

			for (String f : files) {
				
				System.out.println(file.getPath());

				delAll((file.getPath()) + File.separator  + f);
				
				new File((file.getPath()) + File.separator  + f).delete();
			}
		}

	}