Code example for FilePermission

0
   */ 
  public Connection(URL url)
  { 
    super (url);
 
    permission = new FilePermission(getURL().getFile(), DEFAULT_PERMISSION);
  } 
   
  /** 
   * Unquote "%" + hex quotes characters 
   * 
   * @param str The string to unquote or null. 
   * 
   * @return The unquoted string or null if str was null. 
   * 
   * @exception MalformedURLException If the given string contains invalid 
   * escape sequences. 
   * 
   */ 
  public static String unquote(String str) throws MalformedURLException
  {