如果类名一样的话
List<ArticleIndex> ttrList = BeanHelper.copyList(articles, ArticleIndex.class)即可
不相同:如下
//源数据
String[] oldTtr = {"id", "title", "author", "organization", "keyword", "pubdate", "source", "summary", "content", "category", "created", "modified", "domainId", "hits", "status", "similarity", "textType", "industry", "fileformat"};
//被覆盖数据
String[] newTtr = {"articleId", "title", "author", "organization", "keyword", "pubdate", "source", "summary", "content", "category", "created", "modified", "domainId", "hits", "status", "similarity", "textType", "industry", "fileformat"};
List<ArticleIndex> ttrList = BeanHelper.copyList(articles, ArticleIndex.class, oldTtr, newTtr);