data7/src/main/java/data7/Exporter.java
/**
     * Method to load the CWE list  that have been save in its binary form
     *
     * @return Data7
     * @throws IOException
     * @throws ClassNotFoundException
     */
Method to load the CWE list  that have been save in its binary form
@return Data7
@throws IOException
@throws ClassNotFoundException
Method to load the CWE list that have been save in its binary form @return Data7 @throws IOException @throws ClassNotFoundException
public List<CWE> loadCWEMist() throws IOException, ClassNotFoundException {
        File file = new File(path.getBinaryPath() + CWE_OBJ);
        if (file.exists()) {
            FileInputStream fileIn = new FileInputStream(file);
            ObjectInputStream read = new ObjectInputStream(fileIn);
            List<CWE> data = (List<CWE>) read.readObject();
            read.close();
            fileIn.close();
            return data;
        } else {
            return null;
        }
    }
public List < CWE > loadCWEMist ( ) throws IOException , ClassNotFoundException { File file = new File ( path . getBinaryPath ( ) + CWE_OBJ ) ; if ( file . exists ( ) ) { FileInputStream fileIn = new FileInputStream ( file ) ; ObjectInputStream read = new ObjectInputStream ( fileIn ) ; List < CWE > data = ( List < CWE > ) read . readObject ( ) ; read . close ( ) ; fileIn . close ( ) ; return data ; } else { return null ; } }
Method to load the CWE list  that have been save in its binary form
 @return Data7
 @throws IOException
 @throws ClassNotFoundException
Method to load the CWE list that have been save in its binary form @return Data7 @throws IOException @throws ClassNotFoundException