Code example for JarEntry

Methods: getName

    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;
Connect your IDE to all the code out there  Get Codota for Java