|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.haphazard.gui.GlobalJarUtilities
Handles the parsing and loading of graphics.jar
Method Summary | |
java.io.InputStream |
getInputStream(java.lang.String entry)
Opens an input stream from an jar file entry |
static GlobalJarUtilities |
getInstance()
Gets an instance of the global graphics utilities |
java.net.URL |
getURL(java.lang.String entry)
Gets an URL to an entry in the jar file |
void |
setGraphics(java.io.File file)
Sets the input directory or graphics.jar for the graphic |
java.lang.String |
toEntry(java.io.File file)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static GlobalJarUtilities getInstance()
public void setGraphics(java.io.File file)
file
- The directory or graphics.jar to usepublic java.net.URL getURL(java.lang.String entry)
entry
- The entry to be found
public java.io.InputStream getInputStream(java.lang.String entry)
entry
- The entry to open
public java.lang.String toEntry(java.io.File file)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |