// package edu.vt.marian.search; import java.io.*; import java.net.*; import java.util.*; import edu.vt.marian.common.*; import edu.vt.marian.search.*; public class DienstClassManagerTester { public static void main(String[] args) { Debug debug = new Debug("dienst", "trace", true); DienstClassManager DCM=new DienstClassManager(ClassIDs.CLASS_UNKNOWN_DIENST, debug); InfoDesc testDesc = new InfoDesc(debug); InfoDesc keyDesc = new InfoDesc("fox", debug); LinkDesc linkDesc = new LinkDesc(ClassIDs.CLASS_HAS_AUTHOR, LinkDesc.SOURCE_TO_SINK, keyDesc, debug); testDesc.addLinkDesc(linkDesc); try{ DCM.match(testDesc); } catch (Exception ex) { System.out.println(ex); } } }