@Test public void resource() { final File thisJar = JarLocation.jarFromResource("resources.txt"); assertTrue(thisJar.exists()); }
public static File jarFromResource(final String resourceName) { return jarFromResource(Thread.currentThread().getContextClassLoader(), resourceName); }
JarLocation { public static File jarFromResource(final String resourceName) { return jarFromResource(Thread.currentThread().getContextClassLoader(), resourceName); } }
JarLocation { public static File jarFromResource(final String resourceName) { return jarFromResource(Thread.currentThread().getContextClassLoader(), resourceName); }  }
JarLocation { public static File jarFromResource(final String resourceName) { return jarFromResource(Thread.currentThread().getContextClassLoader(), resourceName); }  static File get(); static File jarFromPrefix(final String prefix); static File jarFromRegex(final String regex); static File jarFromResource(final String resourceName); static File jarFromResource(final ClassLoader loader, final String resourceName); static File jarLocation(final Class clazz); static String decode(final String fileName); }
JarLocation { public static File jarFromResource(final String resourceName) { return jarFromResource(Thread.currentThread().getContextClassLoader(), resourceName); }  static File get(); static File jarFromPrefix(final String prefix); static File jarFromRegex(final String regex); static File jarFromResource(final String resourceName); static File jarFromResource(final ClassLoader loader, final String resourceName); static File jarLocation(final Class clazz); static String decode(final String fileName);  }