1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.overturetool.api.io;
17
18
19
20
21
22 import jp.co.csk.vdm.toolbox.VDM.*;
23 import jp.co.csk.vdm.toolbox.VDM.quotes.*;
24
25 import java.util.*;
26 import org.overturetool.ast.itf.*;
27 import org.overturetool.ast.imp.*;
28 import org.overturetool.api.io.*;
29 import org.overturetool.api.io.*;
30 import org.overturetool.api.*;
31 import org.overturetool.api.xml.*;
32 import org.overturetool.umltrans.*;
33 import org.overturetool.umltrans.uml.*;
34 import org.overturetool.umltrans.uml2vdm.*;
35 import org.overturetool.umltrans.vdm2uml.*;
36
37
38
39
40 public class IOProxy {
41
42
43 static UTIL.VDMCompare vdmComp = new UTIL.VDMCompare();
44
45
46
47
48 private void vdm_init_IOProxy () throws CGException {}
49
50
51
52
53 public IOProxy () throws CGException {
54 vdm_init_IOProxy();
55 }
56
57
58
59
60 public void print (final String s) throws CGException {
61
62 IO file = (IO) new IO();
63 {
64
65 Boolean tmpVal_5 = null;
66 tmpVal_5 = file.echo(s);
67 }
68 }
69
70
71
72
73 public void append (final String f, final String s) throws CGException {
74
75 IO file = (IO) new IO();
76 {
77
78 Boolean tmpVal_6 = null;
79 tmpVal_6 = (Boolean) file.fwriteval(f, s, new append());
80 }
81 }
82
83
84
85
86 public void overwrite (final String f, final String s) throws CGException {
87
88 IO file = (IO) new IO();
89 {
90
91 Boolean tmpVal_6 = null;
92 tmpVal_6 = (Boolean) file.fwriteval(f, s, new start());
93 }
94 }
95
96
97 }
98 ;