data7/src/main/java/data7/importer/Data7Importer.java
/**
     * Method that will download all cve xml files
     *
     * @return
     * @throws IOException
     */
Method that will download all cve xml files
@return
@throws IOException
Method that will download all cve xml files @return @throws IOException
private List<String> downloadAllXML() throws IOException {
        List<String> pathOfXMLFiles = new ArrayList<>();
        for (int i = 2002; i <= Year.now().getValue(); i++) {
            String year = String.valueOf(i);
            pathOfXMLFiles.add(downloadCVEXML(year));
        }
        return pathOfXMLFiles;
    }
private List < String > downloadAllXML ( ) throws IOException { List < String > pathOfXMLFiles = new ArrayList < > ( ) ; for ( int i = 2002 ; i <= Year . now ( ) . getValue ( ) ; i ++ ) { String year = String . valueOf ( i ) ; pathOfXMLFiles . add ( downloadCVEXML ( year ) ) ; } return pathOfXMLFiles ; }
Method that will download all cve xml files
 @return
 @throws IOException
Method that will download all cve xml files @return @throws IOException