com.google.code.rees.scope.util
Class NamingUtil

java.lang.Object
  extended by com.google.code.rees.scope.util.NamingUtil

public class NamingUtil
extends Object

Utility for converting camel-case names into dash-delimited names, e.g. thisTypeOfName becomes this-type-of-name.

Author:
rees.byars

Constructor Summary
NamingUtil()
           
 
Method Summary
static String getConventionName(Class<?> clazz)
           
static String getConventionName(Class<?> clazz, String suffixToRemove)
           
static String getConventionName(Field field)
           
static String getConventionName(Method method)
           
static String getConventionName(String camelCaseString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamingUtil

public NamingUtil()
Method Detail

getConventionName

public static String getConventionName(Class<?> clazz,
                                       String suffixToRemove)

getConventionName

public static String getConventionName(Class<?> clazz)

getConventionName

public static String getConventionName(Method method)

getConventionName

public static String getConventionName(Field field)

getConventionName

public static String getConventionName(String camelCaseString)


Copyright © 2012-2013. All Rights Reserved.