|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--picturedream.resource.Resource
this class encapsulates resources like textfiles that should be placed in the resource package.
| Field Summary | |
protected static Resource |
gvInstance
singleton instance |
| Constructor Summary | |
Resource()
constructors |
|
| Method Summary | |
java.awt.Image |
getImage(java.lang.String fileName)
loads a image resource |
static Resource |
getSharedInstance()
returns the singleton instance |
java.lang.String |
getTextResource(java.lang.String fileName)
loads a text file located in the resource package |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
protected static Resource gvInstance
| Constructor Detail |
public Resource()
| Method Detail |
public static Resource getSharedInstance()
public java.lang.String getTextResource(java.lang.String fileName)
throws java.lang.Exception
public java.awt.Image getImage(java.lang.String fileName)
fileName - java.lang.Exception -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||