Is it possible to get the location of the file that an ImageIcon was created from?

Internally ImageIcon has a transient private URL of its location, which when debugging will show its path, but I can't figure out how to access it. Any suggestions?

Here's what I mean,

```
public String getPath(ImageIcon icon){
    return ????;
}

```