您的位置:首页 > 编程语言 > C#

汇总c#.net常用函数和方法集

2011-09-05 17:52 731 查看
Class PaperDetail implements ComputingTask{
public void doComputing(Representation REP, LogicalPipe pipe){
URI uri=REP.getURI();
String fulltext=pipe.get("http://example/document/"uri.getSection("ID")).transferTo(Representation.TEXT);
Paper pp=new Paper();
pp.setId(uri.toString);
pp.setAbstract(Paper.parseAbstract(fulltext));
pp.setKeyWords(Paper.parseKeyWords(fulltext));
pp.setAuthors(Paper.parseAuthors(fulltext));
REP.setRepresentation(pp);
REP.transferTo(Representation.EntityBean);
pipe.submitResult(REP);
}
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: