Java Class Name Extract extractClassName(String fullElement)

Here you can find the source of extractClassName(String fullElement)

Description

extract Class Name

License

Open Source License

Declaration

public static String extractClassName(String fullElement) 

Method Source Code

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

public class Main {
    public static String extractClassName(String fullElement) {
        return fullElement.substring(0, fullElement.lastIndexOf("."));
    }//from w w  w .j a v  a2  s  .  c  o m
}

Related

  1. extractClassName(final String classPath)
  2. extractClassName(final String fullClassName)
  3. extractClassName(String fullClassName)
  4. extractClassName(String fullyQualifiedClassName)
  5. extractClassName(String javaSource)
  6. extractClassName(String methodName)
  7. extractClassName(String qualifiedName)