public static String convertURLToFile(URL url){
  if (url == null) {
    return "";
  }
  return convertURLToFile(url.toString());
}

public static String convertURLToFile ( URL url ) { if ( url == null ) { return "" ; } return convertURLToFile ( url . toString ( ) ) ; }
convert url to file path .
