private String createFileFullPath(){
  String fullPath=url.toString();
  fullPath=fullPath.replaceFirst("://([^:]+)(?:.+)@","://$1@");
  return fullPath;
}

private String createFileFullPath ( ) { String fullPath = url . toString ( ) ; fullPath = fullPath . replaceFirst ( "://([^:]+)(?:.+)@" , "://$1@" ) ; return fullPath ; }
creates a " prettied - up " url to use . this will be stripped of sensitive information such as passwords .
