org.crsh.cmdline.matcher.impl
Class MatcherImpl<T>
java.lang.Object
org.crsh.cmdline.matcher.Matcher<T>
org.crsh.cmdline.matcher.impl.MatcherImpl<T>
public class MatcherImpl<T>
- extends Matcher<T>
- Version:
- $Revision$
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
descriptor
private final ClassDescriptor<T> descriptor
- .
mainName
private final String mainName
- .
MatcherImpl
public MatcherImpl(ClassDescriptor<T> descriptor)
MatcherImpl
public MatcherImpl(String mainName,
ClassDescriptor<T> descriptor)
bilto
private List<LiteralValue> bilto(List<? extends Token.Literal> literals)
match
public CommandMatch<T,?,?> match(String s)
- Specified by:
match
in class Matcher<T>
argument
private Completion argument(MethodDescriptor<?> method,
Completer completer)
complete
public CommandCompletion complete(Completer completer,
String s)
throws CmdCompletionException
- Specified by:
complete
in class Matcher<T>
- Throws:
CmdCompletionException
getCompletion
private Completion getCompletion(Completer completer,
String s)
throws CmdCompletionException
- Throws:
CmdCompletionException
Copyright © 2012 eXo Platform SAS. All Rights Reserved.