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 |
isAllHiragana() |
boolean |
isAllKatakana() |
boolean |
isAllLetter() |
boolean |
isAllLowerCaseLetter() |
boolean |
isInitialCapitalLetter() |
static StringPattern |
recognize(String token) |
public static StringPattern recognize(String token)
public boolean isAllLetter()
public boolean isInitialCapitalLetter()
public boolean isAllCapitalLetter()
public boolean isAllLowerCaseLetter()
public boolean isAllDigit()
public boolean isAllHiragana()
public boolean isAllKatakana()
public int digits()
public boolean containsPeriod()
public boolean containsComma()
public boolean containsSlash()
public boolean containsDigit()
public boolean containsHyphen()
public boolean containsLetters()
Copyright © 2021 The Apache Software Foundation. All rights reserved.