mstar
Class ParsePlayer

java.lang.Object
  |
  +--mstar.ParsePlayer
Direct Known Subclasses:
TinyMudParsePlayer

public abstract class ParsePlayer
extends java.lang.Object

ParsePlayer is a base level abstract class that is used to write parsers for player information that is returned from the collaborative environment. This class is subclassed for each of the different collaborative environments that are to be supported.

Version:
1.6
Author:
Thaddeus O. Cooper (cooper@tweenproject.org)

Constructor Summary
ParsePlayer()
          Constructs a parser for parsing player data returned from the collaborative environment.
 
Method Summary
abstract  MudPlayer parse(java.lang.String s)
          Parses the player data that is returned from the collaborative environment and returns a MudPlayer class that represents the player.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParsePlayer

public ParsePlayer()
Constructs a parser for parsing player data returned from the collaborative environment.
Method Detail

parse

public abstract MudPlayer parse(java.lang.String s)
Parses the player data that is returned from the collaborative environment and returns a MudPlayer class that represents the player.
Parameters:
s - the player data from the collaborative environment that is to be parsed.
Returns:
a MudPlayer object that represents the player.