|
Java Universal Role Playing Engine Version 0.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjurpe.system.resources.ResourceFinder
public final class ResourceFinder
| Method Summary | |
|---|---|
void |
extractResource(java.lang.String resourcePath,
java.lang.String outputFile)
Extract a resource from the jar file and save it to a normal file |
byte[] |
getResource(java.lang.String resourcePath)
|
javax.swing.ImageIcon |
getResourceAsImage(java.lang.String resourcePath)
Get resource as ImageIcon |
java.lang.String |
getResourceAsString(java.lang.String resourcePath)
|
static ResourceFinder |
resources()
Resource finder. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ResourceFinder resources()
public void extractResource(java.lang.String resourcePath,
java.lang.String outputFile)
resourcePath - outputFile - public javax.swing.ImageIcon getResourceAsImage(java.lang.String resourcePath)
resourcePath - the resource path inside the resources jar file
public java.lang.String getResourceAsString(java.lang.String resourcePath)
public byte[] getResource(java.lang.String resourcePath)
resourcePath -
|
Java Universal Role Playing Engine Version 0.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||