no.priv.garshol.duke.utils
Class LinkDatabaseUtils

java.lang.Object
  extended by no.priv.garshol.duke.utils.LinkDatabaseUtils

public class LinkDatabaseUtils
extends Object

Utilities for dealing with link databases.


Constructor Summary
LinkDatabaseUtils()
           
 
Method Summary
static LinkDatabase loadTestFile(String testfile)
          Loads a test file into an in-memory link database.
static void loadTestFile(String testfile, LinkDatabase linkdb)
          Loads a test file into an in-memory link database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkDatabaseUtils

public LinkDatabaseUtils()
Method Detail

loadTestFile

public static LinkDatabase loadTestFile(String testfile)
                                 throws IOException
Loads a test file into an in-memory link database.

Throws:
IOException

loadTestFile

public static void loadTestFile(String testfile,
                                LinkDatabase linkdb)
                         throws IOException
Loads a test file into an in-memory link database.

Throws:
IOException


Copyright © 2013. All Rights Reserved.