Commit 535760d
committed
Add compile(Reader) method
JavaEngine provides the possibility to evaluate Java code from a Reader,
sometimes one might not want to have that code immediately executed.
For a Java File, the compile(File,Writer) method was provided already,
this commit adds such a method for compiling from Reader.1 parent 1c965a1 commit 535760d
File tree
1 file changed
+29
-4
lines changed- src/main/java/org/scijava/plugins/scripting/java
1 file changed
+29
-4
lines changedLines changed: 29 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
141 | 142 | | |
142 | 143 | | |
143 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
144 | 170 | | |
145 | 171 | | |
146 | 172 | | |
| |||
170 | 196 | | |
171 | 197 | | |
172 | 198 | | |
173 | | - | |
| 199 | + | |
174 | 200 | | |
175 | 201 | | |
176 | | - | |
177 | | - | |
178 | | - | |
| 202 | + | |
| 203 | + | |
179 | 204 | | |
180 | 205 | | |
181 | 206 | | |
| |||
0 commit comments