Code example for Permission

Methods: getName

        // Try the permission hack 
        if (checkConnection()) 
            Permission perm = _connection.getPermission();
            if (perm instanceof
                return new File(perm.getName());
        // Try the URL file arg 
        try {return new File(_url.getFile());}
        catch(Exception e) {Log.ignore(e);}
        // Don't know the file 
        return null;     
    /* ------------------------------------------------------------ */ 
     * Returns the name of the resource 
Connect your IDE to all the code out there  Get Codota for Java