Class HTMLImageFinder
java.lang.Object
VASSAL.search.HTMLImageFinder
Parses image tags out of an HTML file or string. Used to add the image filenames to a list, e.g. of images used.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Parses the HTML and adds any image filenames to the collection
-
Constructor Details
-
HTMLImageFinder
- Parameters:
file
- - Prepares to parse an HTML file in the module
-
HTMLImageFinder
- Parameters:
string
- Prepares to parse an html string
-
-
Method Details
-
addImageNames
Parses the HTML and adds any image filenames to the collection- Parameters:
s
- Collection to add image filenames to.
-