private static void readDeviationConfig ( ) throws IOException , ParseException { InputStream is = getConfigFileInputStream ( ) ; if ( is != null ) { BufferedReader br = null ; try { br = new BufferedReader ( new InputStreamReader ( is ) ) ; String line = "" ; int num = 0 ; while ( ( line = br . readLine ( ) ) != null ) { num ++ ; line = line . trim ( ) ; parseLine ( line , num ) ; } } finally { if ( br != null ) { br . close ( ) ; } } } }
Read hijrah_deviation . cfg file . The config file contains the deviation data with following format .