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

java.lang.Object
  extended by org.crsh.cmdline.matcher.Matcher<T>
      extended by org.crsh.cmdline.matcher.impl.MatcherImpl<T>

public class MatcherImpl<T>
extends Matcher<T>

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
MatcherImpl(ClassDescriptor<T> descriptor)
           
MatcherImpl(String mainName, ClassDescriptor<T> descriptor)
           
 
Method Summary
 Map<String,String> complete(Completer completer, String s)
           
 CommandMatch<T,?,?> match(String s)
           
 
Methods inherited from class org.crsh.cmdline.matcher.Matcher
complete, createMatcher, createMatcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatcherImpl

public MatcherImpl(ClassDescriptor<T> descriptor)

MatcherImpl

public MatcherImpl(String mainName,
                   ClassDescriptor<T> descriptor)
Method Detail

match

public CommandMatch<T,?,?> match(String s)
Specified by:
match in class Matcher<T>

complete

public Map<String,String> complete(Completer completer,
                                   String s)
                            throws CmdCompletionException
Specified by:
complete in class Matcher<T>
Throws:
CmdCompletionException


Copyright © 2011 eXo Platform SAS. All Rights Reserved.