org.openmrs.module
Class UpdateFileParser

java.lang.Object
  extended by org.openmrs.module.UpdateFileParser

public class UpdateFileParser
extends java.lang.Object

This class will parse an xml update.rdf file

Version:
1.0

Constructor Summary
UpdateFileParser(java.lang.String s)
          Default constructor
 
Method Summary
 java.lang.String getCurrentVersion()
           
 java.lang.String getDownloadURL()
           
 java.lang.String getModuleId()
           
 void parse()
          Parse the contents of the update.rdf file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateFileParser

public UpdateFileParser(java.lang.String s)
Default constructor

Parameters:
s - String to parse (Contents of update.rdf file)
Method Detail

parse

public void parse()
           throws ModuleException
Parse the contents of the update.rdf file.

Throws:
ModuleException

getDownloadURL

public java.lang.String getDownloadURL()
Returns:
the downloadURL

getModuleId

public java.lang.String getModuleId()
Returns:
the moduleId

getCurrentVersion

public java.lang.String getCurrentVersion()
Returns:
the version

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change