org.exoplatform.social.common.router.regex
Class ExoMatcherImpl

java.lang.Object
  extended by org.exoplatform.social.common.router.regex.ExoMatcherImpl
All Implemented Interfaces:
MatchResult, ExoMatcher

public class ExoMatcherImpl
extends Object
implements ExoMatcher


Method Summary
 int end()
           
 int end(int group)
           
 boolean equals(Object obj)
           
 boolean find()
           
 String group()
           
 String group(int group)
           
 String group(String groupName)
           
 int groupCount()
           
 int hashCode()
           
 boolean matches()
           
 String replaceAll(String replacement)
           
 int start()
           
 int start(int group)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

matches

public boolean matches()
Specified by:
matches in interface ExoMatcher

find

public boolean find()
Specified by:
find in interface ExoMatcher

group

public String group()
Specified by:
group in interface MatchResult

group

public String group(int group)
Specified by:
group in interface MatchResult
Specified by:
group in interface ExoMatcher

groupCount

public int groupCount()
Specified by:
groupCount in interface MatchResult

group

public String group(String groupName)
Specified by:
group in interface ExoMatcher

start

public int start()
Specified by:
start in interface MatchResult

start

public int start(int group)
Specified by:
start in interface MatchResult

end

public int end()
Specified by:
end in interface MatchResult

end

public int end(int group)
Specified by:
end in interface MatchResult

replaceAll

public String replaceAll(String replacement)
Specified by:
replaceAll in interface ExoMatcher

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.