org.crsh.cmdline.matcher.impl
Class Parser<T>

java.lang.Object
  extended by org.crsh.cmdline.matcher.impl.Parser<T>
All Implemented Interfaces:
Iterator<Event>

public final class Parser<T>
extends Object
implements Iterator<Event>

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
Parser(Tokenizer tokenizer, ClassDescriptor<T> command, String mainName, Mode mode)
           
 
Method Summary
 int getIndex()
           
 Mode getMode()
           
 org.crsh.cmdline.matcher.impl.Status getStatus()
           
 Termination getTermination()
           
 boolean hasNext()
           
 Event next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser

public Parser(Tokenizer tokenizer,
              ClassDescriptor<T> command,
              String mainName,
              Mode mode)
Method Detail

getMode

public Mode getMode()

getIndex

public int getIndex()

getStatus

public org.crsh.cmdline.matcher.impl.Status getStatus()

getTermination

public Termination getTermination()

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Event>

next

public Event next()
Specified by:
next in interface Iterator<Event>

remove

public void remove()
Specified by:
remove in interface Iterator<Event>


Copyright © 2011 eXo Platform SAS. All Rights Reserved.