public static interface CreditCardValidator.CreditCardType
boolean matches(String card)
CreditCardValidator
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.card
- The card number, never null.Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.