/** * INTERNAL USE: IDE: to get rid of cache entries at script save, close or * save as * * @param bundlePath absolute path for an image set in this folder */ public static void purge(String bundlePath) { if (imageFiles.isEmpty() || ImagePath.getPaths().get(0) == null) { return; } URL pathURL = FileManager.makeURL(bundlePath); if (!ImagePath.getPaths().get(0).pathURL.equals(pathURL)) { log(-1, "purge: not current bundlepath: " + pathURL); return; } purge(pathURL); }
setBundlePath(null); for (PathEntry path : getPaths()) { if (path == null) { continue;