static BankInfo parse ( String text ) { BankInfo info = new BankInfo ( ) ; if ( text == null || text . length ( ) == 0 ) return info ; String [ ] cols = text . split ( "\\|" ) ; info . setName ( getValue ( cols , 0 ) ) ; info . setLocation ( getValue ( cols , 1 ) ) ; info . setBic ( getValue ( cols , 2 ) ) ; info . setChecksumMethod ( getValue ( cols , 3 ) ) ; info . setRdhAddress ( getValue ( cols , 4 ) ) ; info . setPinTanAddress ( getValue ( cols , 5 ) ) ; info . setRdhVersion ( HBCIVersion . byId ( getValue ( cols , 6 ) ) ) ; info . setPinTanVersion ( HBCIVersion . byId ( getValue ( cols , 7 ) ) ) ; return info ; }
Parst die BankInfo - Daten aus einer Zeile der blz . properties .