Twease

edu.cornell.med.icb.synonyms.util
Class MeshDiseaseReader

java.lang.Object
  extended by edu.cornell.med.icb.synonyms.util.MeshDiseaseReader

public class MeshDiseaseReader
extends Object

Read a Mesh XML file and output the list of diseases. User: Kevin Dorff Date: Sep 24, 2007 Time: 1:41:55 PM To change this template use File | Settings | File Templates.


Constructor Summary
MeshDiseaseReader()
           
 
Method Summary
static void main(String[] args)
           
 void meshImport(String filename)
          Import the MeSH data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeshDiseaseReader

public MeshDiseaseReader()
Method Detail

main

public static void main(String[] args)
                 throws IOException,
                        javax.xml.stream.XMLStreamException
Throws:
IOException
javax.xml.stream.XMLStreamException

meshImport

public void meshImport(String filename)
                throws IOException,
                       javax.xml.stream.XMLStreamException
Import the MeSH data.

Parameters:
filename - MeSH XML file of data
Throws:
FileNotFoundException - specified twease query log does not exist
javax.xml.stream.XMLStreamException - problem processing the xml file
IOException

Twease

Copyright © 2006-2007 Institute for Computational Biomedicine, All Rights Reserved.