Java String Capitalize capitalizePropertyName(String propertyName)

Here you can find the source of capitalizePropertyName(String propertyName)

Description

capitalize Property Name

License

Open Source License

Declaration

private static String capitalizePropertyName(String propertyName) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    private static String capitalizePropertyName(String propertyName) {
        return propertyName.substring(0, 1).toUpperCase() + propertyName.substring(1);
    }/*from ww  w. j  a va  2 s.c  o  m*/
}

Related

  1. capitalizeMethodName(String methodName)
  2. capitalizeName(final String name)
  3. capitalizeName(String name)
  4. capitalizePackageName(final String packageName)
  5. capitalizePlayerName(String name)
  6. capitalizePropertyName(String s)
  7. capitalizeString(final String in)
  8. capitalizeString(String aString)
  9. capitalizeString(String str)