Folder navigation in archive files
Leave feedback
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.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.