|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjecttoxTree.io.Tools
public class Tools
Constructor Summary | |
---|---|
protected |
Tools()
|
Method Summary | |
---|---|
static java.io.File |
getFileFromResource(java.lang.String resource)
Extract a file from resource and copies it into temporary directory. |
static java.io.File |
getFileFromResourceSilent(java.lang.String resource)
Same as getFileFromResource(String) but hides the exception |
static javax.swing.ImageIcon |
getImage(java.lang.String filename)
Loads image |
static void |
openURL(java.lang.String url)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Tools()
Method Detail |
---|
public static java.io.File getFileFromResource(java.lang.String resource) throws java.lang.Exception
resource
-
java.lang.Exception
public static java.io.File getFileFromResourceSilent(java.lang.String resource)
getFileFromResource(String)
but hides the exception
resource
-
public static javax.swing.ImageIcon getImage(java.lang.String filename)
public static void openURL(java.lang.String url) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |