Code example for JarFile

Methods: getJarEntry

0
     */ 
    private void findJarEntry() throws IOException { 
        if (getEntryName() == null) {
            return; 
        } 
        jarEntry = jarFile.getJarEntry(getEntryName());
        if (jarEntry == null) {
            throw new FileNotFoundException(getEntryName());
        } 
    } 
 
    /** 
     * Creates an input stream for reading from this URL Connection. 
     * 
     * @return the input stream 
     * 
     * @throws IOException 
     *             if an IO error occurs while connecting to the resource. 
     */ 
    @Override 
    public InputStream getInputStream() throws IOException {