Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2dc00645 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- pre 1.2

- (changed output or impl directory dispatch ?)
parent fa12c158
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ import org.semanticweb.owl.model.OWLException;
import java.lang.Math;
import java.util.Enumeration;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.io.IOException;
import java.net.URI;
......@@ -129,7 +129,7 @@ public class PRecEvaluator extends BasicEvaluator {
* While we compare two alignments (so the source and the reference to these
* algorithms should be within the alignment structure.
*/
public void write(PrintStream writer) throws java.io.IOException {
public void write(PrintWriter writer) throws java.io.IOException {
writer.println("<?xml version='1.0' encoding='utf-8' standalone='yes'?>");
writer.println("<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'\n xmlns:map='http://www.atl.external.lmco.com/projects/ontology/ResultsOntology.n3#'>");
writer.println(" <map:output rdf:about=''>");
......
......@@ -35,7 +35,7 @@ import org.semanticweb.owl.model.OWLException;
import java.lang.Math;
import java.lang.ClassNotFoundException;
import java.util.Enumeration;
import java.io.PrintStream;
import java.io.PrintWriter;
import java.io.IOException;
import java.net.URI;
......@@ -119,7 +119,7 @@ public class SymMeanEvaluator extends BasicEvaluator
return(result);
}
public void write( PrintStream writer ) throws java.io.IOException {
public void write( PrintWriter writer ) throws java.io.IOException {
writer.print("<rdf:RDF>\n <Evaluation class=\"SymMeanEvaluator\">\n <class>");
writer.print(classScore);
writer.print("</class>\n <properties>");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment