mercredi 15 juin 2016

Java reflection without file

With that I can find the package name within an application

Package pack = Item.class.getPackage();

But all examples which I can find here or elsewhere to find the classes in a package use file to load a jar and look into that. I there a way to gat a classes list within active project without file ?





Aucun commentaire:

Enregistrer un commentaire