Java Class Name Get className(String classFile, String pre)

Here you can find the source of className(String classFile, String pre)

Description

class Name

License

Open Source License

Declaration

public static String className(String classFile, String pre) 

Method Source Code

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

public class Main {
    public static String className(String classFile, String pre) {
        String objStr = classFile.replaceAll("\\\\", "/");
        return objStr.replaceAll("/", ".");
    }//from   w  w w  . ja v a2 s.  c o  m
}

Related

  1. className(Object o)
  2. classname(Object obj)
  3. className(Object obj)
  4. className(Object object)
  5. className(Object value)
  6. className(String classFullName)
  7. className(String fullyQualifiedName)
  8. className(String nodeName)
  9. className(String path)