Java Type Convert typeToSimpleName(String typeName)

Here you can find the source of typeToSimpleName(String typeName)

Description

type To Simple Name

License

Open Source License

Declaration

public static String typeToSimpleName(String typeName) 

Method Source Code

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

public class Main {
    public static String typeToSimpleName(String typeName) {
        int dotIdx = typeName.indexOf('.');

        if (dotIdx == -1) {
            return typeName;
        }/*from   w  w  w. j  a v  a 2  s  .  c  om*/

        return typeName.substring(dotIdx + 1);
    }
}

Related

  1. typeToHex(byte buffer[])
  2. typeToInt(String type)
  3. typeToJavaCode(Class type)
  4. typeToSignature(String className)
  5. typeToSignature(String type)
  6. TypeToString(int typeNum)
  7. typeToString(Object o)
  8. typeToTag(String TheType)
  9. typeToTyperef(Class type)