Mentions légales du service

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

- added the parse( URI ) call

parent a10c49c0
No related branches found
No related tags found
No related merge requests found
......@@ -193,7 +193,8 @@ public class AlignmentParser {
/**
* Parses a URI expressed as a String
* @param uri the URI
* @param uri the URI as a String
* This is only here for compatibility purposes
*/
public Alignment parse( String uri ) throws AlignmentException {
this.uri = uri; // should be obsoloted
......@@ -205,6 +206,16 @@ public class AlignmentParser {
return alignment;
}
/**
* Parses a URI
* @param uri the URI
*/
public Alignment parse( URI uri ) throws AlignmentException {
this.uri = uri.toString();
callParser( uri );
return alignment;
}
/**
* Parses an inputStream
* @param s the Stream to parse
......
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