求助一个hashmap相关的问题
有一个程序,需要读取数据
数据结构如下,这种数据几万条,我要把这些数据录入到数据库中,我想写一个程序,用hashmap来存储等号两端的数据
*NEWRECORDRECTYPE = DMH = Tobacco Use Cessation ProductsAQ = AE CL CT EC ES HI MI PS SD SN ST TD UT VE VIENTRY = Commit|T203|TRD|NRW|NLM (2002)|021106|abcdefENTRY = Nicorette|T203|TRD|NRW|NLM (1987)|abcdeENTRY = Nicotine Chewing Gum|T203|NON|NRW|NLM (2012)|110705|abcdefENTRY = Nicotine Inhalant|T203|NON|NRW|NLM (2012)|110705|abcdefENTRY = Nicotine Lozenge|T203|NON|NRW|NLM (2012)|110705|abcdefENTRY = Nicotine Lozenges|T203|NON|NRW|NLM (2012)|110705|abcdefENTRY = Nicotine Nasal Spray|T203|NON|NRW|NLM (2012)|110705|abcdefENTRY = Nicotine Patch|T203|NON|NRW|NLM (2012)|110705|abcdefENTRY = Nicotine Polacrilex|T203|NON|NRW|NLM (2012)|110705|abcdefENTRY = Nicotine Replacement Products|T203|NON|NRW|NLM (2012)|110705|abcdefENTRY = Nicotine Transdermal Patch|T203|NON|NRW|NLM (2012)|110705|abcdefENTRY = Smoking Cessation Products|T074|NON|REL|NLM (2012)|110705|abcdefENTRY = Cessation Product, SmokingENTRY = Cessation Products, SmokingENTRY = Chewing Gum, NicotineENTRY = Chewing Gums, NicotineENTRY = Gum, Nicotine ChewingENTRY = Gums, Nicotine ChewingENTRY = Inhalant, NicotineENTRY = Inhalants, NicotineENTRY = Lozenge, NicotineENTRY = Lozenges, NicotineENTRY = Nasal Spray, NicotineENTRY = Nasal Sprays, NicotineENTRY = Nicotine Chewing GumsENTRY = Nicotine InhalantsENTRY = Nicotine Nasal SpraysENTRY = Nicotine PolacrilicesENTRY = Nicotine Replacement ProductENTRY = Patch, NicotineENTRY = Patch, Nicotine TransdermalENTRY = Polacrilex, NicotineENTRY = Polacrilices, NicotineENTRY = Product, Nicotine ReplacementENTRY = Product, Smoking CessationENTRY = Products, Nicotine ReplacementENTRY = Products, Smoking CessationENTRY = Replacement Product, NicotineENTRY = Replacement Products, NicotineENTRY = Smoking Cessation ProductENTRY = Spray, Nicotine NasalENTRY = Sprays, Nicotine NasalENTRY = Transdermal Patch, NicotineMN = J01.637.847FX = Tobacco Use CessationMH_TH = NLM (2012)ST = T074MS = Items used to aid in ending a TOBACCO habit.PM = 2012; NICOTINE POLACRILEX was indexed under NICOTINE, POLYVINYLS, and POLYMETHACRYLIC ACIDS 1987-2011HN = 2012DA = 20110705DC = 1DX = 20120101UI = D061485