public static boolean isIdentifier(String name) { if (StringKit.isBlank(name)) { throw new IllegalArgumentException("argument is blank"); } Pattern pattern = Pattern.compile("[a-zA-Z0-9\\-\\_]+"); Matcher matcher = pattern.matcher(name); return matcher.matches(); }
protected String decode(String a_string) { return StringKit.decode(a_string); }
protected String encode(String a_string) { return StringKit.encode(a_string); }