public static boolean canFollow ( URI href ) { if ( href != null && href . getScheme ( ) != null && href . getScheme ( ) . equals ( "mailto" ) ) { return false ; } return true ; }
Make educated guess in advance whether URI can be resolved to a file .