Interface VersionReader

All Known Implementing Classes:
VersionReaderImpl

public interface VersionReader
This interface helps the RepositoryPlaybackFactory decide which RepositoryPlayback implementation should get instantiated.
  • Method Summary

    Modifier and Type
    Method
    Description
    Searches the given file for a RepositoryVersion tag-name.
  • Method Details

    • getVersion

      String getVersion(File file)
      Searches the given file for a RepositoryVersion tag-name.
      Parameters:
      file - the content of this file will be examined.
      Returns:
      Returns the version number contained in the file or null if no version is found.