@@ -0,0 +1,976 @@
+package ob.geocoding;%0A%0A%0A%0A%09import java.io.BufferedReader;%0A%09import java.io.FileNotFoundException;%0A%09import java.io.FileReader;%0A%09import java.io.IOException;%0A%09import java.util.HashMap;%0A%0A%09public class DistrictList %7B%0A%0A%09%09public static void main(String%5B%5D args) throws IOException %7B%0A%09%09%09 String filePath = %22C:%5C%5Cdistrict.txt%22;%0A%09%09%09    HashMap%3CString, String%3E map = new HashMap%3CString, String%3E();%0A%0A%09%09%09    String line;%0A%09%09%09    BufferedReader reader = new BufferedReader(new FileReader(filePath));%0A%09%09%09    while ((line = reader.readLine()) != null)%0A%09%09%09    %7B%0A%09%09%09        String%5B%5D parts = line.split(%22:%22, 2);%0A%09%09%09        if (parts.length %3E= 2)%0A%09%09%09        %7B%0A%09%09%09            String key = parts%5B0%5D;%0A%09%09%09            String value = parts%5B1%5D;%0A%09%09%09            map.put(key, value);%0A%09%09%09        %7D else %7B%0A%09%09%09            System.out.println(line);%0A%09%09%09        %7D%0A%09%09%09    %7D%0A%0A%09%09%09    for (String key : map.keySet())%0A%09%09%09    %7B%0A%09%09%09        System.out.println(key + %22:%22 + map.get(key));%0A%09%09%09    %7D%0A%09%09%09    reader.close();%0A%0A%7D%0A%09%7D%0A

District output