service.external.worldbank/src/main/java/com/hack23/cia/service/external/worldbank/impl/WorldbankIndicatorApiImpl.java
private static List<String> readCsvContent(final InputStream is) throws IOException {		
		final BufferedReader reader = new BufferedReader(new InputStreamReader(is,Charsets.UTF_8));		
		for (int i = 0; i < IGNORE_TOP_HEADERS_LINE; i++) {
			final String ignoreFirstLinesWithHeaders = reader.readLine();			
		}
		
		final CSVParser parser = CSVParser.parse(reader, CSVFormat.EXCEL.withHeader().withDelimiter(','));
		final List<CSVRecord> records = parser.getRecords();
		records.remove(0);
		
		final List<String> list = new ArrayList<>();
		
		for (final CSVRecord csvRecord : records) {			
			list.add(csvRecord.get("Indicator Code"));
		}
		
		return list;
	}
private static List<String> readCsvContent(final InputStream is) throws IOException {		
		final BufferedReader reader = new BufferedReader(new InputStreamReader(is,Charsets.UTF_8));		
		for (int i = 0; i < IGNORE_TOP_HEADERS_LINE; i++) {
			final String ignoreFirstLinesWithHeaders = reader.readLine();			
		}
		
		final CSVParser parser = CSVParser.parse(reader, CSVFormat.EXCEL.withHeader().withDelimiter(','));
		final List<CSVRecord> records = parser.getRecords();
		records.remove(0);
		
		final List<String> list = new ArrayList<>();
		
		for (final CSVRecord csvRecord : records) {			
			list.add(csvRecord.get("Indicator Code"));
		}
		
		return list;
	}
private static List < String > readCsvContent ( final InputStream is ) throws IOException { final BufferedReader reader = new BufferedReader ( new InputStreamReader ( is , Charsets . UTF_8 ) ) ; for ( int i = 0 ; i < IGNORE_TOP_HEADERS_LINE ; i ++ ) { final String ignoreFirstLinesWithHeaders = reader . readLine ( ) ; } final CSVParser parser = CSVParser . parse ( reader , CSVFormat . EXCEL . withHeader ( ) . withDelimiter ( ' ' ) ) ; final List < CSVRecord > records = parser . getRecords ( ) ; records . remove ( 0 ) ; final List < String > list = new ArrayList <> ( ) ; for ( final CSVRecord csvRecord : records ) { list . add ( csvRecord . get ( "Indicator Code" ) ) ; } return list ; }
Read csv content.

@param is
the is
@return the list
@throws IOException
Signals that an I/O exception has occurred.
Read csv content .