ru.tehkode.permissions.commands
Class CommandsManager.CommandSyntax

java.lang.Object
  extended by ru.tehkode.permissions.commands.CommandsManager.CommandSyntax
Enclosing class:
CommandsManager

protected class CommandsManager.CommandSyntax
extends Object


Field Summary
protected  List<String> arguments
           
protected  String originalSyntax
           
protected  String regexp
           
 
Constructor Summary
CommandsManager.CommandSyntax(String syntax)
           
 
Method Summary
 Map<String,String> getMatchedArguments(String str)
           
 String getRegexp()
           
 boolean isMatch(String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

originalSyntax

protected String originalSyntax

regexp

protected String regexp

arguments

protected List<String> arguments
Constructor Detail

CommandsManager.CommandSyntax

public CommandsManager.CommandSyntax(String syntax)
Method Detail

getRegexp

public String getRegexp()

isMatch

public boolean isMatch(String str)

getMatchedArguments

public Map<String,String> getMatchedArguments(String str)


Copyright © 2011. All Rights Reserved.