Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Alignment API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
moex
Alignment API
Commits
d16602e3
Commit
d16602e3
authored
15 years ago
by
Jérôme Euzenat
Browse files
Options
Downloads
Patches
Plain Diff
- suppressedd mappingapi dependency
- enabled RDFParser
parent
50133354
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/fr/inrialpes/exmo/align/parser/AlignmentParser.java
+5
-9
5 additions, 9 deletions
src/fr/inrialpes/exmo/align/parser/AlignmentParser.java
with
5 additions
and
9 deletions
src/fr/inrialpes/exmo/align/parser/AlignmentParser.java
+
5
−
9
View file @
d16602e3
...
@@ -20,10 +20,6 @@
...
@@ -20,10 +20,6 @@
package
fr.inrialpes.exmo.align.parser
;
package
fr.inrialpes.exmo.align.parser
;
// Imported EDOAL classes
import
org.omwg.mediation.parser.rdf.RDFParser
;
import
org.omwg.mediation.parser.rdf.RDFParserException
;
//Imported JAVA classes
//Imported JAVA classes
import
java.io.IOException
;
import
java.io.IOException
;
import
java.io.StringReader
;
import
java.io.StringReader
;
...
@@ -137,11 +133,12 @@ public class AlignmentParser {
...
@@ -137,11 +133,12 @@ public class AlignmentParser {
if
(
embedded
)
parser
.
setEmbedded
(
embedded
);
if
(
embedded
)
parser
.
setEmbedded
(
embedded
);
alignment
=
parser
.
parse
(
uri
);
alignment
=
parser
.
parse
(
uri
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
/*
if
(
debugMode
>
0
)
{
System.err.println(" TEST TRAPPED FOR ALIGNMENT ");
System
.
err
.
println
(
" TEST TRAPPED FOR ALIGNMENT "
);
e.printStackTrace();
e
.
printStackTrace
();
}
try
{
try
{
if ( !embedded ) {
// Not ready yet
if
(
!
embedded
)
{
alignment
=
new
RDFParser
().
parse
(
new
File
(
uri
)
);
alignment
=
new
RDFParser
().
parse
(
new
File
(
uri
)
);
}
else
{
}
else
{
throw
new
AlignmentException
(
"Cannot parse "
+
uri
,
e
);
throw
new
AlignmentException
(
"Cannot parse "
+
uri
,
e
);
...
@@ -150,7 +147,6 @@ public class AlignmentParser {
...
@@ -150,7 +147,6 @@ public class AlignmentParser {
// JE: should contain both ex and e
// JE: should contain both ex and e
throw
new
AlignmentException
(
"Cannot parse "
+
uri
,
ex
);
throw
new
AlignmentException
(
"Cannot parse "
+
uri
,
ex
);
}
}
*/
}
}
return
alignment
;
return
alignment
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment