Code example for JarEntry

Methods: getName

0
 
    private final URL codeSource;
 
    public JarResourceHandle(JarFile jarFile, JarEntry jarEntry, URL codeSource) throws MalformedURLException {
        this.jarFile = jarFile;
        this.jarEntry = jarEntry;
        this.url = JarFileUrlStreamHandler.createURL(jarFile, jarEntry, codeSource);
        this.codeSource = codeSource;
    } 
 
    public String getName() {
        return jarEntry.getName();
    } 
 
    public URL getUrl() {
        return url;
    } 
 
    public URL getCodeSourceUrl() {
        return codeSource;