private Set<String> parseMechanismsList(String authParameters){
  String[] mechanisms=authParameters.split(" ");
  return new HashSet<String>(Arrays.asList(mechanisms));
}

private Set < String > parseMechanismsList ( String authParameters ) { String [ ] mechanisms = authParameters . split ( " " ) ; return new HashSet < String > ( Arrays . asList ( mechanisms ) ) ; }
parses the ehlo parameter list of the smtp auth extension keyword .
