Java Class Name Create toClassName(String className)

Here you can find the source of toClassName(String className)

Description

to Class Name

License

Apache License

Declaration

public static String toClassName(String className) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String toClassName(String className) {
        char c = className.charAt(0);
        String head = String.valueOf(c).toUpperCase();
        return head + className.substring(1);

    }//from   ww w .j a  v  a2  s . c om
}

Related

  1. toClassName(Class clazz)
  2. toClassName(Enum enumeration)
  3. toClassName(Object obj)
  4. toClassname(String apparatClassname)
  5. toClassName(String className)
  6. toClassName(String className)
  7. toClassName(String fileName)
  8. toClassName(String fileName)