File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/main/java/org/culturegraph/mf/runner Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 23
23
import java .io .Writer ;
24
24
25
25
import org .culturegraph .mf .morph .MorphVisualizer ;
26
+ import org .xml .sax .InputSource ;
26
27
27
28
28
29
/**
29
30
* Generates a graphviz dot file based on a Metamorph definition.
30
- *
31
+ *
31
32
* @author Markus Michael Geipel
32
33
*/
33
34
public final class MorphVis {
@@ -39,7 +40,7 @@ private MorphVis() {/* no instances */
39
40
40
41
/**
41
42
* @param args
42
- *
43
+ *
43
44
* @throws IOException
44
45
*/
45
46
public static void main (final String [] args ) throws IOException {
@@ -54,8 +55,8 @@ public static void main(final String[] args) throws IOException {
54
55
return ;
55
56
}
56
57
final MorphVisualizer visualizer = new MorphVisualizer (out );
57
- visualizer .walk (new FileReader (args [0 ]));
58
+ visualizer .walk (new InputSource ( new FileReader (args [0 ]) ));
58
59
}
59
60
60
-
61
+
61
62
}
You can’t perform that action at this time.
0 commit comments