|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cleancode.format.REConverter.REPiece
public static class REConverter.REPiece
A container class for holding regular expression objects to run against the input.
Constructor Summary | |
---|---|
REConverter.REPiece(String name,
String target,
String replace)
Construct an REConverter object. |
|
REConverter.REPiece(String name,
String target,
String replace,
boolean oneOnly)
Construct an REConverter object. |
|
REConverter.REPiece(String name,
String target,
String replace,
int cflags)
Construct an REConverter object. |
|
REConverter.REPiece(String name,
String target,
String replace,
int cflags,
boolean oneOnly)
Construct an REConverter object. |
Method Summary | |
---|---|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public REConverter.REPiece(String name, String target, String replace, int cflags, boolean oneOnly)
name
- Descriptive name for diagnostic purposes.target
- Regular expression to match.replace
- Regular expression to replace.cflags
- Flags to pass to Pattern.compile.oneOnly
- Flag specifying to replace the first occurrence
or all occurrences.public REConverter.REPiece(String name, String target, String replace, boolean oneOnly)
name
- Descriptive name for diagnostic purposes.target
- Regular expression to match.replace
- Regular expression to replace.oneOnly
- Flag specifying to replace the first occurrence
or all occurrences.public REConverter.REPiece(String name, String target, String replace, int cflags)
name
- Descriptive name for diagnostic purposes.target
- Regular expression to match.replace
- Regular expression to replace.cflags
- Flags to pass to Pattern.compile.public REConverter.REPiece(String name, String target, String replace)
name
- Descriptive name for diagnostic purposes.target
- Regular expression to match.replace
- Regular expression to replace.Method Detail |
---|
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CleanCode Java Libraries | Copyright © 2001-2012 Michael Sorens - Revised 2012.12.10 |