Code example for URL

Methods: toExternalForm

0
        base.run(context,output);
    } 
 
    public String getName() {
        // get to the file name portion 
        String url = source.toExternalForm();
        url = url.substring(url.lastIndexOf('/') +1);
        url = url.substring(url.lastIndexOf('\\') +1);
 
        return from.getName().replace('.','/').replace('$','/')+'/'+url;
    } 
}