Let suppose, I have a zip file 'zipTest', it contains two directories say 'Final' and 'Test' (zip file may contain more directoris as well, for simplicity I mentioned only two). I want to list all the direct children directories name present inside 'Final' directory in java, (I do not want to extract zip file due to some obvious reasons).
I want to list all the direct children directories for 'Final' directory present inside zip file. Directories name 'a' and 'b' should be listed as they are the direct children of 'Final' directory.