com.stevenrbrandt.ubiq2.v4.pattwo
Class Matcher

java.lang.Object
  extended by com.stevenrbrandt.ubiq2.v4.pattwo.Matcher

public class Matcher
extends java.lang.Object


Constructor Summary
Matcher()
           
 
Method Summary
 boolean appendReplacement(java.lang.StringBuffer sb, java.lang.String r)
           
 boolean appendTail(java.lang.StringBuffer sb)
           
 int end()
           
 int end(int id)
           
 boolean find()
           
 boolean find(int start)
           
 java.lang.String group()
           
 java.lang.String group(int id)
           
 int groupCount()
           
 boolean hitEnd()
           
 boolean longerChanges()
          Detects if a longer match might be able to change the match result.
 boolean lookingAt()
           
 boolean matches()
           
 Pattern pattern()
           
 java.lang.String replaceAll(java.lang.String replacement)
           
 java.lang.String replaceFirst(java.lang.String replacement)
           
 Matcher reset()
           
 int start()
           
 int start(int id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Matcher

public Matcher()
Method Detail

pattern

public Pattern pattern()

groupCount

public int groupCount()

end

public int end()

start

public int start()

start

public int start(int id)

end

public int end(int id)

group

public java.lang.String group()

group

public java.lang.String group(int id)

find

public boolean find()

reset

public Matcher reset()

find

public boolean find(int start)

matches

public boolean matches()

appendReplacement

public boolean appendReplacement(java.lang.StringBuffer sb,
                                 java.lang.String r)

appendTail

public boolean appendTail(java.lang.StringBuffer sb)

replaceFirst

public java.lang.String replaceFirst(java.lang.String replacement)

replaceAll

public java.lang.String replaceAll(java.lang.String replacement)

lookingAt

public boolean lookingAt()

hitEnd

public boolean hitEnd()

longerChanges

public boolean longerChanges()
Detects if a longer match might be able to change the match result.