org.limitless.nmc.Prototype1
Class CommandParser

java.lang.Object
  extended by org.limitless.nmc.Prototype1.CommandParser

public class CommandParser
extends java.lang.Object

This is a lexer/parser that takes a single line of text and breaks it into a command and arguments. All arguments are separated by commas. The command is the first non-white-space word. See 5.1.1 for a complete description of the syntax.

Version:
1.0
Author:
Brian Jones

Nested Class Summary
static class CommandParser.ParsedCommand
           
 
Field Summary
private static org.apache.log4j.Logger logger
           
 
Constructor Summary
CommandParser()
           
 
Method Summary
(package private)  CommandParser.ParsedCommand parse(java.lang.String raw)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static org.apache.log4j.Logger logger
Constructor Detail

CommandParser

public CommandParser()
Method Detail

parse

CommandParser.ParsedCommand parse(java.lang.String raw)


Copyright © 1995, 2004 Limitless Knowledge Association, All Rights Reserved.