org.qriterium.dogma
Class DogmaQDUpdateParser

java.lang.Object
  extended by org.qriterium.dogma.DogmaQDUpdateParser

public class DogmaQDUpdateParser
extends java.lang.Object

DogmaQDUpdateParser parses the input user gets from qdUpdater into useable format.


Constructor Summary
DogmaQDUpdateParser()
          Creates a new instance of the parser and initiates the needed data-structures.
 
Method Summary
 java.util.Vector<DogmaResource> getResultVector()
          Returns the resultvector currently in the parser.
 void parseTXT(java.lang.String textFile)
          Parses the given text file into a resource vector.
 void saveToResourceBase(ResourceBase base)
          Saves the current resourceset and its uris and connections to the database.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DogmaQDUpdateParser

public DogmaQDUpdateParser()
Creates a new instance of the parser and initiates the needed data-structures.

Method Detail

getResultVector

public java.util.Vector<DogmaResource> getResultVector()
Returns the resultvector currently in the parser. Try to remember to parse something into it before though ;P

Returns:

parseTXT

public void parseTXT(java.lang.String textFile)
Parses the given text file into a resource vector.

Parameters:
textFile -

saveToResourceBase

public void saveToResourceBase(ResourceBase base)
Saves the current resourceset and its uris and connections to the database.

Parameters:
base -