/** * @param s string of digits to check * @return {@link #checkStandardUPCEANChecksum(CharSequence)} * @throws FormatException if the string does not contain only digits */ boolean checkChecksum(String s) throws FormatException { return checkStandardUPCEANChecksum(s); }
/** * @param s string of digits to check * @return {@link #checkStandardUPCEANChecksum(CharSequence)} * @throws FormatException if the string does not contain only digits */ boolean checkChecksum(String s) throws FormatException { return checkStandardUPCEANChecksum(s); }
/** * @return {@link #checkStandardUPCEANChecksum(String)} */ boolean checkChecksum(String s) throws ChecksumException, FormatException { return checkStandardUPCEANChecksum(s); }
case 8: try { if (!UPCEANReader.checkStandardUPCEANChecksum(contents)) { throw new IllegalArgumentException("Contents do not pass checksum");
case 13: try { if (!UPCEANReader.checkStandardUPCEANChecksum(contents)) { throw new IllegalArgumentException("Contents do not pass checksum");
case 8: try { if (!UPCEANReader.checkStandardUPCEANChecksum(contents)) { throw new IllegalArgumentException("Contents do not pass checksum");
case 8: try { if (!UPCEANReader.checkStandardUPCEANChecksum(contents)) { throw new IllegalArgumentException("Contents do not pass checksum");
case 8: try { if (!UPCEANReader.checkStandardUPCEANChecksum(contents)) { throw new IllegalArgumentException("Contents do not pass checksum");
case 13: try { if (!UPCEANReader.checkStandardUPCEANChecksum(contents)) { throw new IllegalArgumentException("Contents do not pass checksum");