org.etlunit.util.regexp
Class PropertyExpression

java.lang.Object
  extended by org.etlunit.util.regexp.PropertyExpression

public final class PropertyExpression
extends Object


Nested Class Summary
static interface PropertyExpression.RegExpIterator
           
 
Field Summary
static Pattern pattern
           
static String PATTERN_RAW_TEXT
           
static String PATTERN_TEXT
           
 
Constructor Summary
PropertyExpression(CharSequence ch)
           
 
Method Summary
 int end()
           
 int end(int group)
           
 String getPropertyDefaultValue()
           
 String getPropertyName()
           
 String group()
           
 String group(int i)
           
 String group(String name)
           
 int groupCount()
           
 boolean hasNext()
           
 boolean hasPropertyDefaultValue()
           
 boolean hasPropertyName()
           
static void main(String[] argv)
           
static PropertyExpression match(CharSequence pText)
           
 boolean matches()
           
 String replaceAll(PropertyExpression.RegExpIterator it)
           
 String replaceAll(String replacement)
           
 PropertyExpression resetMatch(CharSequence seq)
           
 int start()
           
 int start(int group)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PATTERN_RAW_TEXT

public static final String PATTERN_RAW_TEXT
See Also:
Constant Field Values

PATTERN_TEXT

public static final String PATTERN_TEXT

pattern

public static final Pattern pattern
Constructor Detail

PropertyExpression

public PropertyExpression(CharSequence ch)
Method Detail

match

public static PropertyExpression match(CharSequence pText)

end

public int end()

end

public int end(int group)

start

public int start()

start

public int start(int group)

replaceAll

public String replaceAll(String replacement)

replaceAll

public String replaceAll(PropertyExpression.RegExpIterator it)

matches

public boolean matches()

hasNext

public boolean hasNext()

groupCount

public int groupCount()

group

public String group()

group

public String group(int i)

resetMatch

public PropertyExpression resetMatch(CharSequence seq)

group

public String group(String name)

hasPropertyName

public boolean hasPropertyName()

getPropertyName

public String getPropertyName()

hasPropertyDefaultValue

public boolean hasPropertyDefaultValue()

getPropertyDefaultValue

public String getPropertyDefaultValue()

toString

public String toString()
Overrides:
toString in class Object

main

public static void main(String[] argv)


Copyright © 2012. All Rights Reserved.