private String getContenFileName ( ) { final String file = this . content . getPath ( ) ; if ( file . indexOf ( ' ' ) != - 1 ) { return file . substring ( file . lastIndexOf ( ' ' ) ) ; } return file ; }
Extracts the name of the resource from the url itself . The filename from the path - part of the URL is extracted .