org.knowceans.corpus.parsers.igdbib
Class BibHtml2Xml

java.lang.Object
  extended by org.knowceans.corpus.parsers.igdbib.BibHtml2Xml

public class BibHtml2Xml
extends java.lang.Object

BibHtml2Xml converts a html file output from the igd library (starsearch) interface to an xml file that can be read via the dpa reader

Author:
heinrich

Field Summary
(package private)  java.lang.StringBuffer all
           
 
Constructor Summary
BibHtml2Xml()
           
 
Method Summary
 java.lang.String html2xml(java.lang.String content)
          replace fieldwise.
 java.lang.String html2xml2(java.lang.String content)
          replace fieldwise.
static void main(java.lang.String[] args)
           
 java.lang.String readFile(java.lang.String filename)
          read file with filename completely into return string
static void run(java.lang.String[] args)
           
private  void writeFile(java.lang.String filename, java.lang.String content)
          write content to filename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

all

java.lang.StringBuffer all
Constructor Detail

BibHtml2Xml

public BibHtml2Xml()
Method Detail

main

public static void main(java.lang.String[] args)

run

public static void run(java.lang.String[] args)

readFile

public java.lang.String readFile(java.lang.String filename)
                          throws java.io.IOException
read file with filename completely into return string

Parameters:
filename -
Returns:
Throws:
java.io.IOException

writeFile

private void writeFile(java.lang.String filename,
                       java.lang.String content)
                throws java.io.IOException
write content to filename

Parameters:
filename -
Throws:
java.io.IOException

html2xml

public java.lang.String html2xml(java.lang.String content)
replace fieldwise.

Parameters:
content -
Returns:

html2xml2

public java.lang.String html2xml2(java.lang.String content)
replace fieldwise.

Parameters:
content -
Returns: