question: public void splitLinesIntoHashMap ( Vector < String > content ) throws Exception { for ( int i = 0 ; i < content . size ( ) ; i ++ ) { String line = content . get ( i ) ; if ( line == null || line . length ( ) < 1 ) continue ; if ( ! line . contains ( _divider ) ) throw new Exception ( "ConfigReader: ConfigFile " + _filePath + " contains invalid line(" + i + 1 + ") : " + line + ". No Divider " + _divider + " found" ) ; String [ ] splitted = line . split ( _divider ) ; String key = splitted [ 0 ] ; String val = splitted [ 1 ] ; _configMap . put ( key , val ) ; } }
target:  Splitting lines into hashmap by divider