|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.assertj.swing.util.Patterns
public final class Patterns
Utility methods for regular expression patterns.
Method Summary | |
---|---|
static String |
format(Pattern[] patterns)
Formats the given array of regular expression patterns. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Nonnull public static String format(@Nonnull Pattern[] patterns)
Formats the given array of regular expression patterns.
For example, the array
Pattern[] patterns = { Pattern.compile("hello"), Pattern.compile("world") };will be formatted as
['hello', 'world']
patterns
- the array of patterns to format.
String
containing the formatted array.
NullPointerException
- if the given array of patterns is null
.
NullPointerException
- if any of the patterns in the given array is null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |