|
Kofax Mobile SDK API Reference
|
This class parses the MICR data line from different check detection algorithms. More...
Public Member Functions | |
| MicrParser (String micr) | |
| The MicrParser class constructor with parameter. More... | |
| MicrParser () | |
| The MicrParser class default constructor. More... | |
| boolean | ParseMicr (String micrData) throws NullPointerException |
| Given the provided MICR data, parse into standard MICR fields. More... | |
| boolean | isMicrValid () |
| MicrLine | getMicrLine () |
| String | getAccountNumber () |
| String | getTransitNumber () |
| String | getCheckNumber () |
This class parses the MICR data line from different check detection algorithms.
This class provides a means of retrieving the raw properties of the provided MICR data line. These properties are:
| MicrParser | ( | String | micr | ) |
The MicrParser class constructor with parameter.
This constructor takes a String parameter that gets passed to the ParseMicr method.
| micr |
| MicrParser | ( | ) |
The MicrParser class default constructor.
This is the default constructor for the MicrParser class. It creates a new MicrLine object.
| String getAccountNumber | ( | ) |
Returns the account number from the parsed MICR string.
| String getCheckNumber | ( | ) |
Returns the check number from the parsed MICR string. The source of the check number depends on the check type, either personal or business.
| MicrLine getMicrLine | ( | ) |
| String getTransitNumber | ( | ) |
Returns the transit number from the parsed MICR string.
| boolean isMicrValid | ( | ) |
Returns a flag indicating the provided MICR string was valid.
| boolean ParseMicr | ( | String | micrData | ) | throws NullPointerException |
Given the provided MICR data, parse into standard MICR fields.
This is the main method of the MicrParser object. It parses the given micrData string into the component MICR fields: auxiliaryOnUs When present (usually on business check), the check number. epc Special purpose value. transitNumber Transit field used for routing number. onUs1 Account number. onUs2 Special bank use; on a personal check, the check number. amount If present, the check amount.
| micrData |
| NullPointerException | (micrData parameter is null). |