本文整理汇总了Java中skadistats.clarity.processor.runner.Runner类的典型用法代码示例。如果您正苦于以下问题:Java Runner类的具体用法?Java Runner怎么用?Java Runner使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Runner类属于skadistats.clarity.processor.runner包,在下文中一共展示了Runner类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getEntities
import skadistats.clarity.processor.runner.Runner; //导入依赖的package包/类
private List<Entity> getEntities(Runner runner, String entityName) {
List<Entity> entities = new Vector<Entity>();
Iterator<Entity> _it = runner.getContext().getProcessor(Entities.class).getAllByDtName(entityName);
while(_it.hasNext()) {
entities.add(_it.next());
}
return entities;
}
示例2: runSeek
import skadistats.clarity.processor.runner.Runner; //导入依赖的package包/类
public void runSeek(String[] args) throws Exception {
Runner runner = new SimpleRunner(new MappedFileSource(args[0])).runWith(this);
StringTables st = runner.getContext().getProcessor(StringTables.class);
for (String name : names) {
StringTable t = st.forName(name);
System.out.println(t.toString());
}
}
示例3: getEntity
import skadistats.clarity.processor.runner.Runner; //导入依赖的package包/类
private Entity getEntity(Runner runner, String entityName) {
return runner.getContext().getProcessor(Entities.class).getByDtName(entityName);
}