Class ClassPathUtil

  • public class ClassPathUtil
    extends Object
    Various class path, class loading and class scanning utilities. For more info about class-path scanning:
    • Field Detail

      • LOGGER

        public static final Trace LOGGER
    • Constructor Detail

      • ClassPathUtil

        public ClassPathUtil()
    • Method Detail

      • listClasses

        public static Set<Class<?>> listClasses​(String packageName)
      • searchClasses

        public static void searchClasses​(String packageName,
                                         Consumer<Class<?>> consumer)
      • extractFileFromClassPath

        public static boolean extractFileFromClassPath​(String src,
                                                       String dst)
        Extract specified source on class path to file system dst
        src - source
        dst - destination
        successful extraction