org.cyberiantiger.mudclient.parser
Class ElephantMUDParser

java.lang.Object
  extended byorg.cyberiantiger.mudclient.parser.ElephantMUDParser
All Implemented Interfaces:
Parser

public class ElephantMUDParser
extends java.lang.Object
implements Parser


Constructor Summary
ElephantMUDParser()
           
 
Method Summary
 boolean changeParser()
          Should we change the parser
 void flush(ConsoleWriter client)
          Tell this parser to flush it's output to client.
 java.lang.String getName()
          Get the name of this parser
 Parser getNewParser()
          Get the new parser in the event that it should be changed.
 void putChar(char ch)
          Push a character to this parser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElephantMUDParser

public ElephantMUDParser()
Method Detail

putChar

public void putChar(char ch)
Description copied from interface: Parser
Push a character to this parser.

Specified by:
putChar in interface Parser
Returns:
The parser to push the next character to, may not always be this instance of parser

flush

public void flush(ConsoleWriter client)
Description copied from interface: Parser
Tell this parser to flush it's output to client.

Specified by:
flush in interface Parser

getName

public java.lang.String getName()
Description copied from interface: Parser
Get the name of this parser

Specified by:
getName in interface Parser

changeParser

public boolean changeParser()
Description copied from interface: Parser
Should we change the parser

Specified by:
changeParser in interface Parser

getNewParser

public Parser getNewParser()
Description copied from interface: Parser
Get the new parser in the event that it should be changed.

Specified by:
getNewParser in interface Parser


Copyright © 2003 OSJava. All Rights Reserved.