|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines all the image data access methods. Wherever addresses are involved in creating new resources, all non-existing collections in the specified path to the resource will be created automatically.
All the methods throw the following exceptions:
| Method Summary | |
org.eclipse.swt.graphics.ImageData |
getImage(String address)
Retrieves the Image from the specified address |
boolean |
storeImage(String address,
URL source,
boolean force)
Imports the image from the source & stores it at the given address. |
| Method Detail |
public org.eclipse.swt.graphics.ImageData getImage(String address)
throws MalformedAddressException,
ResourceNotFoundException,
IOException
address - address of the Image
ResourceNotFoundException - if the resource doesnt exist
MalformedAddressException
IOException
public boolean storeImage(String address,
URL source,
boolean force)
throws MalformedAddressException,
ResourceNotFoundException,
IOException
address - the address of the resourcesource - URL pointing to the image to be importedforce - if true, then the resource is overwritten if it already exists
MalformedAddressException
ResourceNotFoundException
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||