java
KevinWDong
这个作者很懒,什么都没留下…
展开
-
根据XML转换为List<Map>
根据传入的XML路径获取XML中指定标签下的所有子标签,并将其封装到List<Map>中。 /** * * @param xml XML文件 * @param targetElement 需要解析的标签 * @return * @throws DocumentException */ public static ...原创 2019-11-22 11:53:01 · 1618 阅读 · 0 评论 -
获取指定包下的所有类
/** 获取指定包下的所有类 @author kevin / public class PackageUtil { public static List getClassName(String packageName) throws IOException { try { return getClassNamefFromPachage(packageName); } catch (Clas...原创 2018-10-24 11:27:57 · 1724 阅读 · 0 评论