public class Which extends Object
| Constructor and Description |
|---|
Which() |
public static URL jarURL(Class clazz) throws IOException
IllegalArgumentException - if failed to determine.IOExceptionpublic static File jarFile(Class clazz) throws IOException
Note that jar files are not always loaded from File,
so for diagnostics purposes jarURL(Class) is preferrable.
IllegalArgumentException - if failed to determine.IOExceptionpublic static File jarFile(URL resource) throws IOException
IOExceptionCopyright © 2013. All rights reserved.