Discuss / Java / 如何通过File对象获取完整类名

如何通过File对象获取完整类名

Topic source

深蓝738

#1 Created at ... [Delete] [Delete and Lock User]

老师,像Spring或者Mybatis这些框架都实现了通过包名配置,扫描指定包下的文件。我也想实现一个这样的功能,可是我不知道如何通过File对象获取完整的类名……您看我的思路有什么问题吗?


  • 1

Reply