Class GameNameReader


  • public class GameNameReader
    extends java.lang.Object
    Version:
    $Revision: 305 $
    Author:
    $Author: $
    • Constructor Summary

      Constructors 
      Constructor Description
      GameNameReader()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getGameName​(FileType filetype)
      Tries to read the game name from the file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GameNameReader

        public GameNameReader()
    • Method Detail

      • getGameName

        public static java.lang.String getGameName​(FileType filetype)
        Tries to read the game name from the file.
        Parameters:
        filetype - A report or rules file
        Returns:
        The name of the game or null if it couldn't be found.