Am downloading a zip file from web. It contain folders and files. Uncompressing them using ZipInputstream and ZipEntry. Zipentry.getName
ZipInputstream
ZipEntry
Zipentry.getName
You can use Google's guava library to do it in a couple of lines with Files class:
Files.createParentDirs(file); Files.touch(file);
https://code.google.com/p/guava-libraries/