com.mlw.fps.model.business.dao.memmory
Class StaticData

java.lang.Object
  |
  +--com.mlw.fps.model.business.dao.memmory.StaticData

public class StaticData
extends java.lang.Object

This class holds the data that is being parsed. There is also a dao implementation that acces this singleton in the package: com.mlw.fps.mode.dao.file.

Author:
Matthew Wilson

Constructor Summary
StaticData()
           
 
Method Summary
 java.util.Map getGames()
          Getter for property games.
 java.util.List getGames(java.util.Map filters)
           
 java.util.List getKills()
          Retrievs the kills.
 java.util.List getKills(java.util.Map filters)
           
 java.util.Map getMaps()
          Retrievs the maps.
 java.util.Map getMapsByName()
           
 java.util.Map getPlayers()
          Retrievs the players.
 java.util.Map getPlayersByName()
          Retrievs the playuers
 java.util.Map getRounds()
          Retrievs the rounds.
 java.util.Map getWeapons()
          Retrievs the weapons.
 java.util.Map getWeaponsByName()
          Retrievs the weapons.
 void init(java.lang.String logDir)
          Initializes this class.
 boolean initialized()
          Gets is this class initialized.
static StaticData instance()
          Implementation of the Static pattern.
 java.lang.String next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticData

public StaticData()
Method Detail

init

public void init(java.lang.String logDir)
Initializes this class.

Parameters:
logDir - Directory containing the logs.

initialized

public boolean initialized()
Gets is this class initialized.

Returns:
a boolean, is the Static data initialized?

getMaps

public java.util.Map getMaps()
Retrievs the maps.

Returns:
A Map of the maps.

getMapsByName

public java.util.Map getMapsByName()

getKills

public java.util.List getKills()
Retrievs the kills.

Returns:
A Map of the kills.

getRounds

public java.util.Map getRounds()
Retrievs the rounds.

Returns:
A Map of the rounds.

getPlayers

public java.util.Map getPlayers()
Retrievs the players.

Returns:
A Map of the playes.

getPlayersByName

public java.util.Map getPlayersByName()
Retrievs the playuers

Returns:
A Map of the players.

getWeapons

public java.util.Map getWeapons()
Retrievs the weapons.

Returns:
A Map of the weapons.

getWeaponsByName

public java.util.Map getWeaponsByName()
Retrievs the weapons.

Returns:
A Map of the weapons.

next

public java.lang.String next()

instance

public static StaticData instance()
Implementation of the Static pattern. This is the method to retieve an iunstance of this class.

Returns:
Implementation of the Static pattern

getGames

public java.util.Map getGames()
Getter for property games.

Returns:
Value of property games.

getGames

public java.util.List getGames(java.util.Map filters)

getKills

public java.util.List getKills(java.util.Map filters)


Copyright © 2003 mlavilson. All Rights Reserved.