com.sapportals.wcm.util.regex
Class Matcher
java.lang.Object
com.sapportals.wcm.util.regex.Matcher
public class Matcher
- extends Object
An engine that performs match operations on a character sequence by interpreting a Pattern.
For documentation refer to the J2SE 1.4 Matcher class.
Be aware of one difference: the matches() method corresponds to
the J2SE 1.4 find() method whereas the matches_JDK() method
corresponds to the J2SE 1.4 matches() method. The reason is
compatibility with older versions of this class.
Copyright (c) SAP AG 2005
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Matcher
public Matcher(Pattern pattern,
String input)
Matcher
public Matcher(Pattern pattern,
Object matcher)
appendReplacement
public void appendReplacement(StringBuffer sb,
String replacement)
appendTail
public void appendTail(StringBuffer sb)
end
public int end()
end
public int end(int group)
find
public boolean find()
find
public boolean find(int start)
group
public String group()
group
public String group(int group)
groupCount
public int groupCount()
lookingAt
public boolean lookingAt()
matches
public boolean matches()
- Attempts to find the next subsequence of the input sequence that matches the pattern.
matches_JDK
public boolean matches_JDK()
- Attempts to match the entire input sequence against the pattern.
pattern
public Pattern pattern()
replaceAll
public String replaceAll(String replacement)
reset
public void reset()
reset
public void reset(CharSequence input)
start
public int start()
start
public int start(int group)
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2014 SAP AG Complete Copyright Notice