org.rr0.util
Class NameHelper
- public class NameHelper
Utility class to format names.
- Author:
- Jérôme Beau
- Version: 3 mai 2003 23:43:36
| Method Summary |
static String | getFullName(String[] firstNames, String lastName) |
static String | toAcronym(String name) |
static String | toAcronym(String name, String separator) |
getFullName
public static String getFullName(String[] firstNames, String lastName)
toAcronym
public static String toAcronym(String name)
- Parameters:
- name A name.
- Returns: A concatenation of capital letters that summarize the name.
toAcronym
public static String toAcronym(String name, String separator)
- Parameters:
- name A name.
- separator A separator between returned letters (" " or ". " for example)
- Returns: A concatenation of capital letters that summarize the name.