|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.lonniepryor.blues.util.Strings.Builder
Helper class for sequentially constructing the elements of a common Strings specification.
Constructor Summary | |
Strings.Builder()
|
Method Summary | |
Strings |
endingWith(Characters specification)
Returns a Strings specification that will require the supplied character at the end of canidate strings. |
Strings |
endingWith(java.lang.String characters)
Returns a Strings specification that will require the supplied text at the end of canidate strings. |
Strings |
endingWithAny()
Returns a Strings specification that will accept any number of characters at the end of canidate strings. |
Strings |
endingWithAtLeastNumChars(int minChars)
Returns a Strings specification that will require the at least the specified number of characters at the end of canidate strings. |
Strings.Builder |
followedBy(Characters specification)
Returns a Builder whose resulting Strings specification will require the supplied character at this point in canidate strings. |
Strings.Builder |
followedBy(java.lang.String characters)
Returns a Builder whose resulting Strings specification will require the supplied text at this point in canidate strings. |
Strings.Builder |
followedByAny()
Returns a Builder whose resulting Strings specification will accept any number of characters at this point in canidate strings. |
Strings.Builder |
followedByAtLeastNumChars(int minChars)
Returns a Builder whose resulting Strings specification will require the at least the specified number of characters at this point in canidate strings. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Strings.Builder()
Method Detail |
public Strings.Builder followedByAny()
public Strings.Builder followedByAtLeastNumChars(int minChars)
minChars
- The minimum number of charactes to require.
public Strings.Builder followedBy(Characters specification)
specification
- The specification to match to.
public Strings.Builder followedBy(java.lang.String characters)
characters
- The text to match.
public Strings endingWithAny()
public Strings endingWithAtLeastNumChars(int minChars)
minChars
- The minimum number of charactes to require.
public Strings endingWith(Characters specification)
specification
- The specification to match to.
public Strings endingWith(java.lang.String characters)
characters
- The text to match.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |