|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.knowceans.corpus.parsers.igdbib.BibHtml2Xml
public class BibHtml2Xml
BibHtml2Xml converts a html file output from the igd library (starsearch) interface to an xml file that can be read via the dpa reader
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 |
---|
java.lang.StringBuffer all
Constructor Detail |
---|
public BibHtml2Xml()
Method Detail |
---|
public static void main(java.lang.String[] args)
public static void run(java.lang.String[] args)
public java.lang.String readFile(java.lang.String filename) throws java.io.IOException
filename
-
java.io.IOException
private void writeFile(java.lang.String filename, java.lang.String content) throws java.io.IOException
filename
-
java.io.IOException
public java.lang.String html2xml(java.lang.String content)
content
-
public java.lang.String html2xml2(java.lang.String content)
content
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |