data-collector/src/main/java/se/kth/depclean/experiments/util/CustomFileWriter.java
/**
     * Writes the results to a file locally.
     */
Writes the results to a file locally.
Writes the results to a file locally .
public static void writeDependencyResults(String resultsPath, String artifact, ArrayList<MavenDependencyBuilder> dependencies) throws IOException {
        BufferedWriter bw = new BufferedWriter(new FileWriter(resultsPath, true));
        for (MavenDependencyBuilder dependency : dependencies) {
            bw.write(artifact + ",");
            bw.write(dependency.toString());
        }
        bw.close();
    }
public static void writeDependencyResults ( String resultsPath , String artifact , ArrayList < MavenDependencyBuilder > dependencies ) throws IOException { BufferedWriter bw = new BufferedWriter ( new FileWriter ( resultsPath , true ) ) ; for ( MavenDependencyBuilder dependency : dependencies ) { bw . write ( artifact + "," ) ; bw . write ( dependency . toString ( ) ) ; } bw . close ( ) ; }
Writes the results to a file locally.
Writes the results to a file locally .
// write artifact coordinates