public String getAbsolutePath ( ) { if ( this . isValid ( ) ) { if ( this . asFile ( ) != null ) { return FilenameUtils . getFullPathNoEndSeparator ( this . file . getAbsolutePath ( ) ) ; } else { return FilenameUtils . getFullPathNoEndSeparator ( this . url . getPath ( ) ) ; } } return null ; }
Returns the absolute path of the file without the file name