|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.validator.CreditCardValidator.Amex
private class CreditCardValidator.Amex
| Field Summary | |
|---|---|
private static java.lang.String |
PREFIX
|
| Constructor Summary | |
|---|---|
private |
CreditCardValidator.Amex()
|
| Method Summary | |
|---|---|
boolean |
matches(java.lang.String card)
Returns true if the card number matches this type of credit card. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String PREFIX
| Constructor Detail |
|---|
private CreditCardValidator.Amex()
| Method Detail |
|---|
public boolean matches(java.lang.String card)
CreditCardValidator.CreditCardTypeCreditCardValidator performs those checks before
calling this method. It is generally only required to valid the
length and prefix of the number to determine if it's the correct
type.
matches in interface CreditCardValidator.CreditCardTypecard - The card number, never null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||