public static boolean isLink( String href ) { return StringUtils.isNotBlank( href ) && ( startsWithAnyIgnoreCase( href, "http:/", "https:/", "ftp:/", "mailto:", "file:/" ) || href.contains( "://" ) ); }
public static boolean isLink( String href ) { return StringUtils.isNotBlank( href ) && ( startsWithAnyIgnoreCase( href, "http:/", "https:/", "ftp:/", "mailto:", "file:/" ) || href.contains( "://" ) ); }