|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.qbe.utility.JarUtils
public class JarUtils
The Class JarUtils.
Constructor Summary | |
---|---|
JarUtils()
|
Method Summary | |
---|---|
static java.net.URL |
getResourceFromJarFile(java.io.File jar,
java.lang.String resourceName)
Gets the resource from jar file. |
static java.net.URL |
getUrl(java.io.File jarFile,
java.lang.String path)
Gets the url. |
static java.lang.String |
getUrlStr(java.io.File jarFile,
java.lang.String path)
Gets the url str. |
static void |
main(java.lang.String[] args)
The main method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JarUtils()
Method Detail |
---|
public static java.net.URL getResourceFromJarFile(java.io.File jar, java.lang.String resourceName)
jar
- the jarresourceName
- the resource name
public static java.lang.String getUrlStr(java.io.File jarFile, java.lang.String path)
jarFile
- the jar filepath
- the path
public static java.net.URL getUrl(java.io.File jarFile, java.lang.String path)
jarFile
- the jar filepath
- the path
public static void main(java.lang.String[] args) throws java.net.MalformedURLException
args
- the arguments
java.net.MalformedURLException
- the malformed url exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |