// To start, you must configure TrueZip to which archive extensions you want treated as virtual directories. de.schlichtherle.io.File.setDefaultArchiveDetector( new de.schlichtherle.io.DefaultArchiveDetector( "zip" ) ); // You must cast results of File.listFiles because it nominally returns java.io.Files[]. de.schlichtherle.io.File dir = new de.schlichtherle.io.File( "test.zip" ); final de.schlichtherle.io.File[] dirContents = ( de.schlichtherle.io.File[] ) dir.listFiles(); // when you are done, arrange to have all the accumulated changes expressed in rearranged files. de.schlichtherle.io.File.umount();