Package b4j.report

Class XmlFileReleaseProvider

java.lang.Object
All Implemented Interfaces:
ReleaseProvider, IConfigurable

public class XmlFileReleaseProvider
extends AbstractFileReleaseProvider
Loads release information from a XML file.

The XML file contains <Release> tags. Each release is configured with name and timestamp of the release:

<Release timestamp="2008-06-10 00:00">
        <Name>Release 20080610</Name>
</Release>
Author:
Ralph Schuster
  • Constructor Details

  • Method Details

    • loadReleases

      protected void loadReleases​(java.io.File file) throws org.apache.commons.configuration.ConfigurationException
      Loads the XML file. The XML file contains <Release> tags. Each release is configured with name and timestamp of the release:

      <Release timestamp="2008-06-10 00:00">
              <Name>Release 20080610</Name>
      </Release>
      
      Specified by:
      loadReleases in class AbstractFileReleaseProvider
      Parameters:
      file - - file to load releases from
      Throws:
      org.apache.commons.configuration.ConfigurationException - - if an error occurs