mstar
Class ParseWhere

java.lang.Object
  |
  +--mstar.ParseWhere

public abstract class ParseWhere
extends java.lang.Object

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

Constructor Detail

ParseWhere

public ParseWhere()
Constructs a parser for parsing where command data returned from the collaborative environment.
Method Detail

parse

public abstract java.lang.String[] parse(java.lang.String s)
Parses the where command data that is returned from the collaborative environment and returns a String array that represents the room the player is in.
Parameters:
s - the where command data from the collaborative environment that is to be parsed.
Returns:
a String array that represents the room where the player is.