I want to implement a help system for my small SWT desktop.
I thought of SWT browser widgets containing one html markup page and a set of anchors for navigation (there are very few to explain).
Everything works fine, but how to load an html file from a banner?
I know about getClass().getClassLoader().getResourceAsStream("foo");, but what is the best practice when reading from an input stream? Answer Downloading a resource contained in a bank is discouraged by using FileInputStream.
Thanks in advance
source
share