Class ValidationUtilities.HyperlinkValidationHelper

  • Enclosing class:
    ValidationUtilities

    public static class ValidationUtilities.HyperlinkValidationHelper
    extends java.lang.Object
    A helper class for external hyperlink validation.
    • Constructor Detail

      • HyperlinkValidationHelper

        public HyperlinkValidationHelper()
    • Method Detail

      • isProtocolValid

        public static final boolean isProtocolValid​(java.lang.String string)
        Returns:
        does given string start with a valid external hyperlink protocol
      • isFormatValid

        public static final boolean isFormatValid​(java.lang.String string)
        Returns:
        does given string contain a hyperlink value in a proper format
      • getValidProtocolsAsString

        public static final java.lang.String getValidProtocolsAsString()