SaveFramegrabsAction | Use as:
// Create an array of URLS representing images that you want to save URLS[] urls = new URL[]{new URL"http://someserver/somepath/image1.jpg"), new URL("http://someserver/somepath/image2.png")}; // Initialize the action and set the parameters (URLs, and directory to save images to) SaveFramegrabsAction action = new SaveFramegrabsAction(); action.setUrls(urls); action.setSaveLocation("/Users/bob/someimages") action.doAction(); |