tds/src/main/java/thredds/util/StringValidateEncodeUtils.java
public static boolean validAlphanumericString(String alphNumString) {
    if (alphNumString == null)
      return false;
    Matcher m = VALID_CHARACTERS_FOR_ALPHANUMERIC_STRING_PATTERN.matcher(alphNumString);
    return m.matches();
  }
public static boolean validAlphanumericString(String alphNumString) {
    if (alphNumString == null)
      return false;
    Matcher m = VALID_CHARACTERS_FOR_ALPHANUMERIC_STRING_PATTERN.matcher(alphNumString);
    return m.matches();
  }
public static boolean validAlphanumericString ( String alphNumString ) { if ( alphNumString == null ) return false ; Matcher m = VALID_CHARACTERS_FOR_ALPHANUMERIC_STRING_PATTERN . matcher ( alphNumString ) ; return m . matches ( ) ; }
Return true if the given String is an alphanumeric string.

@param alphNumString the String to validate.
@return true if the given String is an alphanumeric string.
Return true if the given String is an alphanumeric string .