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.StringgetDateString()static intgetGameRound()static java.lang.StringgetHeaderPGN()static java.lang.StringgetMovesPGN()static java.lang.StringgetPlayerBlackString()static java.lang.StringgetPlayerWhiteString()static java.lang.StringgetResult()static voidreadPGNFile(java.lang.String pathname)static voidsetDateString(java.lang.String dateString)static voidsetGameRound(int gameRound)static voidsetHeaderPGN(java.lang.String headerPGN)static voidsetMovesPGN(java.lang.String movesPGN)static voidsetPlayerBlackString(java.lang.String playerBlackString)static voidsetPlayerWhiteString(java.lang.String playerWhiteString)static voidsetResult(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)
-