Module org.example

Class PGNFileRead

java.lang.Object
cz.cvut.fel.pjv.PGN.PGNFileRead

public class PGNFileRead
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    PGNFileRead()  
  • Method Summary

    Modifier and Type Method Description
    static java.lang.String getDateString()  
    static int getGameRound()  
    static java.lang.String getHeaderPGN()  
    static java.lang.String getMovesPGN()  
    static java.lang.String getPlayerBlackString()  
    static java.lang.String getPlayerWhiteString()  
    static java.lang.String getResult()  
    static void readPGNFile​(java.lang.String pathname)  
    static void setDateString​(java.lang.String dateString)  
    static void setGameRound​(int gameRound)  
    static void setHeaderPGN​(java.lang.String headerPGN)  
    static void setMovesPGN​(java.lang.String movesPGN)  
    static void setPlayerBlackString​(java.lang.String playerBlackString)  
    static void setPlayerWhiteString​(java.lang.String playerWhiteString)  
    static void setResult​(java.lang.String result)  

    Methods inherited from class java.lang.Object

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

    • PGNFileRead

      public PGNFileRead()
  • Method Details

    • readPGNFile

      public static void readPGNFile​(java.lang.String pathname) throws java.text.ParseException
      Throws:
      java.text.ParseException
    • getDateString

      public static java.lang.String getDateString()
    • setDateString

      public static void setDateString​(java.lang.String dateString)
    • getGameRound

      public static int getGameRound()
    • setGameRound

      public static void setGameRound​(int gameRound)
    • getResult

      public static java.lang.String getResult()
    • setResult

      public static void setResult​(java.lang.String result)
    • getHeaderPGN

      public static java.lang.String getHeaderPGN()
    • setHeaderPGN

      public static void setHeaderPGN​(java.lang.String headerPGN)
    • getMovesPGN

      public static java.lang.String getMovesPGN()
    • setMovesPGN

      public static void setMovesPGN​(java.lang.String movesPGN)
    • getPlayerWhiteString

      public static java.lang.String getPlayerWhiteString()
    • setPlayerWhiteString

      public static void setPlayerWhiteString​(java.lang.String playerWhiteString)
    • getPlayerBlackString

      public static java.lang.String getPlayerBlackString()
    • setPlayerBlackString

      public static void setPlayerBlackString​(java.lang.String playerBlackString)