I have zip-compressed file, which contains a set of html pages. I need to load html-pages from it. I need to redefine the mechanism of resolve of links. It is possible using WebView javafx?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
If I understand well your question. I'm guessing that you need to open html files.
I extracted the next code from javafx 2 tutorial from Oracle
The load function takes a regular URL, so you can put a URL like
and you will load an archive from your machine.
Hope it helps.
Try using
ZipFile
andZipEntry
to retrieve your html documents from the .zip file as anInputStream
: