private static String getContentLocation ( final Object content ) { final File file = ( File ) ReflectionUtils . invokeMethod ( content , "getFile" , false ) ; return file != null ? file . toURI ( ) . toString ( ) : null ; }
Get the content location .