public static LinkDatabase loadTestFile(String testfile) throws IOException {
    LinkDatabase linkdb = new InMemoryLinkDatabase();
    loadTestFile(testfile, linkdb);
    return linkdb;
  }
public static LinkDatabase loadTestFile ( String testfile ) throws IOException { LinkDatabase linkdb = new InMemoryLinkDatabase ( ) ; loadTestFile ( testfile , linkdb ) ; return linkdb ; }
Loads a test file into an in-memory link database.