Package b4j.report

Class TextFileReleaseProvider

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

public class TextFileReleaseProvider
extends AbstractFileReleaseProvider
Loads release information from a text file. The text file contains one release information per line. A line consists of the timestamp YYYY-MM-DD HH:MM followed by the release name. Lines starting with a hash (#) will be ignored.
Author:
Ralph Schuster
  • Constructor Details

  • Method Details

    • loadReleases

      protected void loadReleases​(java.io.File file) throws org.apache.commons.configuration.ConfigurationException
      Loads the text file. The text file contains one release information per line. A line consists of the timestamp YYYY-MM-DD HH:MM followed by the release name. Lines starting with a hash (#) will be ignored.
      Specified by:
      loadReleases in class AbstractFileReleaseProvider
      Parameters:
      file - - file to load releases from
      Throws:
      org.apache.commons.configuration.ConfigurationException - - if an error occurs