com.google.code.regexp
Class NamedPattern

java.lang.Object
  extended by com.google.code.regexp.Pattern
      extended by com.google.code.regexp.NamedPattern

Deprecated. see Pattern

@Deprecated
public final class NamedPattern
extends Pattern

Provided as a transitional class to avoid renaming existing references


Method Summary
static NamedPattern compile(String regex)
          Deprecated. Compiles the given regular expression into a pattern
 NamedMatcher matcher(CharSequence input)
          Deprecated. Creates a matcher that will match the given input against this pattern.
 
Methods inherited from class com.google.code.regexp.Pattern
compile, equals, extractGroupInfo, flags, groupInfo, groupNames, hashCode, indexOf, indexOf, namedPattern, pattern, replaceProperties, split, split, standardPattern, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

compile

public static NamedPattern compile(String regex)
Deprecated. 
Compiles the given regular expression into a pattern

Parameters:
regex - the expression to be compiled
Returns:
the pattern

matcher

public NamedMatcher matcher(CharSequence input)
Deprecated. 
Creates a matcher that will match the given input against this pattern.

Overrides:
matcher in class Pattern
Parameters:
input - The character sequence to be matched
Returns:
A new matcher for this pattern


Copyright © 2012. All Rights Reserved.