| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vivoweb.harvester.translate.SPARQLTranslator
public class SPARQLTranslator
Takes XML Files and uses an XSL file to translate the data into the desired ontology
| Field Summary | |
|---|---|
| protected  JenaConnect | inputJCin stream is the stream containing the file (xml) that we are going to translate | 
| protected  JenaConnect | outputJCout stream is the stream that the controller will be handling and were we will dump the translation | 
| protected  RecordHandler | outputRC | 
| protected  java.io.File | sparqlFile | 
| Constructor Summary | |
|---|---|
| SPARQLTranslator(ArgList argumentList)Constructor | |
| SPARQLTranslator(java.lang.String[] args)Constructor | |
| Method Summary | |
|---|---|
|  void | execute()checks again for the necessary file and makes sure that they exist | 
| static void | main(java.lang.String... args)Currently the main method accepts two methods of execution, file translation and record handler translation The main method actually passes its arg string to another method so that Translator can use this same method of execution | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected JenaConnect inputJC
protected JenaConnect outputJC
protected java.io.File sparqlFile
protected RecordHandler outputRC
| Constructor Detail | 
|---|
public SPARQLTranslator(java.lang.String[] args)
                 throws java.io.IOException
args - commandline arguments
java.io.IOException - error creating task
public SPARQLTranslator(ArgList argumentList)
                 throws java.io.IOException
argumentList - java.io.IOException - error reading files| Method Detail | 
|---|
public void execute()
             throws java.io.IOException
java.io.IOException - error accessing file streampublic static void main(java.lang.String... args)
args - commandline arguments| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||