mstar
Class ParseRoomDescription

java.lang.Object
  |
  +--mstar.ParseRoomDescription
Direct Known Subclasses:
TinyMudParseRoomDescription

public abstract class ParseRoomDescription
extends java.lang.Object

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

Constructor Detail

ParseRoomDescription

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

parse

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