java - Loading classes that extend another class from jars in directory -


what want , let's have folder , , directory, , lets created jar has class in there extending "apple". how check jars in folder andn check have class extending apple, add each , every 1 of classes extending apple list?

use have use reflection api this. first list of classes loaded class loader , of reflection api can check if class extends apple or not. hope helps


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -