data7/src/main/java/data7/Exporter.java
/**
     * Method to save the cwe list in an object file that will appear in the selected folder
     *
     * @param cweList
     * @throws IOException
     */
Method to save the cwe list in an object file that will appear in the selected folder
@param cweList
@throws IOException
Method to save the cwe list in an object file that will appear in the selected folder @param cweList @throws IOException
public void saveCWEList(List<CWE> cweList) throws IOException {
        FileOutputStream fos = new FileOutputStream(path.getBinaryPath() + CWE_OBJ, false);
        ObjectOutputStream oos = new ObjectOutputStream(fos);
        oos.writeObject(cweList);
        oos.close();
        fos.close();
    }
public void saveCWEList ( List < CWE > cweList ) throws IOException { FileOutputStream fos = new FileOutputStream ( path . getBinaryPath ( ) + CWE_OBJ , false ) ; ObjectOutputStream oos = new ObjectOutputStream ( fos ) ; oos . writeObject ( cweList ) ; oos . close ( ) ; fos . close ( ) ; }
Method to save the cwe list in an object file that will appear in the selected folder
 @param cweList
 @throws IOException
Method to save the cwe list in an object file that will appear in the selected folder @param cweList @throws IOException