miless.dozbib
Class BibTeXConverter

java.lang.Object
  extended by miless.dozbib.BibTeXConverter
All Implemented Interfaces:
MCRExternalCommandInterface

public class BibTeXConverter
extends Object
implements MCRExternalCommandInterface


Constructor Summary
BibTeXConverter()
           
 
Method Summary
static void convertFromBibTeX(String sourceFile, String targetFile)
          Reads a BibTeX *.bib file, converts the data and writes the resulting UBO XML document to a file.
 ArrayList<MCRCommand> getPossibleCommands()
          Commands for the MyCoRe Command Line Interface
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BibTeXConverter

public BibTeXConverter()
Method Detail

convertFromBibTeX

public static void convertFromBibTeX(String sourceFile,
                                     String targetFile)
                              throws Exception
Reads a BibTeX *.bib file, converts the data and writes the resulting UBO XML document to a file.

Parameters:
sourceFile - the source BibTeX *.bib file
targetFile - the file to write the converted XML document to
Throws:
Exception

getPossibleCommands

public ArrayList<MCRCommand> getPossibleCommands()
Commands for the MyCoRe Command Line Interface

Specified by:
getPossibleCommands in interface MCRExternalCommandInterface

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception