Folder navigation in archive files

When rendering contents of the archive to single-page HTML, Windows Explorer style like navigation is implemented, to use this you should set RenderToSinglePage option to true:

    try (Viewer viewer = new Viewer("sample.zip")) {
        HtmlViewOptions viewOptions = HtmlViewOptions.forEmbeddedResources();
        viewOptions.setRenderToSinglePage(true);

        viewer.view(viewOptions);
    }

To see the contents of a particular folder, just click on it. To get back in-depth, click on the required folder in the header near the archive name.

Windows explorer navigation style