mstar
Class ParseWhereis

java.lang.Object
  |
  +--mstar.ParseWhereis
Direct Known Subclasses:
TinyMudParseWhereis

public abstract class ParseWhereis
extends java.lang.Object

ParseWhereis is a base level abstract class that is used to write parsers for whereis command 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
ParseWhereis()
          Constructs a parser for parsing player data returned from the collaborative environment.
 
Method Summary
abstract  Room parse(java.lang.String s)
          Parses the whereis command data that is returned from the collaborative environment and returns a Room class that represents the location of the player.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseWhereis

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

parse

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