public class StringPattern extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
containsComma() |
boolean |
containsDigit() |
boolean |
containsHyphen() |
boolean |
containsLetters() |
boolean |
containsPeriod() |
boolean |
containsSlash() |
int |
digits()
Retrieves the number of digits.
|
boolean |
isAllCapitalLetter() |
boolean |
isAllDigit() |
boolean |
isAllLetter() |
boolean |
isAllLowerCaseLetter() |
boolean |
isInitialCapitalLetter() |
static StringPattern |
recognize(String token) |
public boolean isAllLetter()
public boolean isInitialCapitalLetter()
public boolean isAllCapitalLetter()
public boolean isAllLowerCaseLetter()
public boolean isAllDigit()
public int digits()
public boolean containsPeriod()
public boolean containsComma()
public boolean containsSlash()
public boolean containsDigit()
public boolean containsHyphen()
public boolean containsLetters()
public static StringPattern recognize(String token)
Copyright © 2015 The Apache Software Foundation. All rights reserved.