Class ClassUtil

java.lang.Object
org.vrspace.server.core.ClassUtil

public class ClassUtil extends Object
  • Constructor Details

    • ClassUtil

      public ClassUtil()
  • Method Details

    • projectHomeDirectory

      public static String projectHomeDirectory()
      Determines project home directory (parent of server/) from own class location. If the server jar resides in some other directory, returns its parent.
    • findSubclasses

      public static List<Class<?>> findSubclasses(Class<?> superClass)
      Returns all subclasses/implementations of given class/interface.