fi.cs.helsinki.ohtur6.reportmanagement
Class ResultListing

java.lang.Object
  |
  +--fi.cs.helsinki.ohtur6.reportmanagement.ResultListing
Direct Known Subclasses:
BowlingResultListing

public class ResultListing
extends java.lang.Object

Author:
OhtuR6 Creates the ResultList

Constructor Summary
ResultListing()
          Constructor for this class.
 
Method Summary
protected  java.lang.String getFooter()
          Creates and returns the footer of the scorelist
protected  java.lang.String getHeader()
          Creates and returns te header of the resultlist
protected  java.lang.String getScoreList()
          Creates and returns the scorelist of the resultlist
 java.lang.String toString()
          Creates the final scorelist by calling the header, scorelist and footer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResultListing

public ResultListing()
Constructor for this class.

Method Detail

getHeader

protected java.lang.String getHeader()
Creates and returns te header of the resultlist

Returns:
Header of the scorelist

getScoreList

protected java.lang.String getScoreList()
Creates and returns the scorelist of the resultlist

Returns:
Scorelist

getFooter

protected java.lang.String getFooter()
Creates and returns the footer of the scorelist

Returns:
Footer of the scorelist

toString

public java.lang.String toString()
Creates the final scorelist by calling the header, scorelist and footer.

Overrides:
toString in class java.lang.Object
Returns:
Formatted resultlist from the game last played.

(c) ohtuR6