public class ImageReferencesValidator extends Object
| Constructor and Description |
|---|
ImageReferencesValidator(PhantomRuntime runtime)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
void | addFileNPObjects(Transaction trans)Add all Jar objects available. |
void | clearImageCache()Clears the image cache. |
boolean | exists(String fileName)Validates the presence of an image file name. |
Map<String,File> | getAvailableImageFileNames()Gets all the file names available for the image validator, separated by '/' in the path, relative to its root. |
ImageIcon | getImage(String fileName)Get a cached image copy or loads the image from the image validation path. |
static String | getImageVerificationEntry(IniFile ini)Gets the image verification entry from the INI file. |
String | getSource(String fileName)Gets the source of the image. |
boolean | needsReload()Check if reload is required. |
void | reload()Reload as required. |
public ImageReferencesValidator(PhantomRuntime runtime)
public static String getImageVerificationEntry(IniFile ini)
public void clearImageCache()
public boolean needsReload()
public void reload()
public boolean exists(String fileName)
public String getSource(String fileName)
public ImageIcon getImage(String fileName)
fileName - The file name.public Map<String,File> getAvailableImageFileNames()
The image verification path is processed for images, and only lists the first instance available if duplicate file paths exist.
public void addFileNPObjects(Transaction trans)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.