class PrefixJarResource implements Resource {

    @Override
    public URL getResource(String location) {
        URL result = null;
        try {
            location = prefix + location;
            JarEntry jarEntry = jarFile.getJarEntry(location);
            if (jarEntry != null) {
                result = new URL("jar://" + jarFile.getName() + "#!/" + location);
            }
        } catch (MalformedURLException use) {
        }
        return result;
    }

    public  PrefixJarResource();
    public  PrefixJarResource(JarFile jarFile, String prefix);

}