com.virtuosotechnologies.lib.plugin
Class PluginInfoParser

java.lang.Object
  extended bycom.virtuosotechnologies.lib.plugin.PluginInfoParser

public class PluginInfoParser
extends Object

Something that can parse XML into PluginInfo objects


Constructor Summary
PluginInfoParser()
          Constructor
 
Method Summary
 List readPluginList(InputSource source, URL urlBase)
          Read a list of plugin infos from a file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginInfoParser

public PluginInfoParser()
                 throws ParserConfigurationException,
                        SAXException,
                        IOException
Constructor

Method Detail

readPluginList

public List readPluginList(InputSource source,
                           URL urlBase)
                    throws IOException,
                           SAXException
Read a list of plugin infos from a file

Parameters:
source - the InputSource to read from
urlBase - the base URL for jars with relative URLs
Returns:
a List of PluginInfo objects
Throws:
IOException
SAXException