org.mule.devkit.generation.utils
Class NameUtils
java.lang.Object
org.mule.devkit.generation.utils.NameUtils
public class NameUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NameUtils
public NameUtils()
camel
public static String camel(String uncamelCaseName)
uncamel
public static String uncamel(String camelCaseName)
friendlyNameFromCamelCase
public static String friendlyNameFromCamelCase(String camelCaseName)
pluralize
public static String pluralize(String word)
- Return the pluralized version of a word.
- Parameters:
word - The word
- Returns:
- The pluralized word
singularize
public static String singularize(String word)
- Return the singularized version of a word.
- Parameters:
word - The word
- Returns:
- The singularized word
isUncountable
public static boolean isUncountable(String word)
- Return true if the word is uncountable.
- Parameters:
word - The word
- Returns:
- True if it is uncountable
Copyright © 2010–2015 MuleSoft, Inc.. All rights reserved.