org.nakedobjects.applib.util
Class NameUtils
java.lang.Object
org.nakedobjects.applib.util.NameUtils
public class NameUtils
- extends Object
Not public API, provides a number of utilities to represent formal Identifier names more naturally.
|
Method Summary |
static String |
naturalName(String name)
Returns a word spaced version of the specified name, so there are spaces between the words, where each
word starts with a capital letter. |
static String[] |
naturalNames(String[] names)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameUtils
public NameUtils()
naturalName
public static String naturalName(String name)
- Returns a word spaced version of the specified name, so there are spaces between the words, where each
word starts with a capital letter. E.g., "NextAvailableDate" is returned as "Next Available Date".
naturalNames
public static String[] naturalNames(String[] names)
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.