diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/_scripting/Engines/JVMEngine/JavaEngine.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/_scripting/Engines/JVMEngine/JavaEngine.cs | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/OpenSim/Region/Environment/Scenes/_scripting/Engines/JVMEngine/JavaEngine.cs b/OpenSim/Region/Environment/Scenes/_scripting/Engines/JVMEngine/JavaEngine.cs deleted file mode 100644 index 58cdf49..0000000 --- a/OpenSim/Region/Environment/Scenes/_scripting/Engines/JVMEngine/JavaEngine.cs +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | using OpenSim.Region.Scripting; | ||
6 | using OpenSim.Region.Scripting.EmbeddedJVM; | ||
7 | |||
8 | namespace OpenSim.Region.Scripting | ||
9 | { | ||
10 | public class JavaEngine : IScriptCompiler | ||
11 | { | ||
12 | public string FileExt() | ||
13 | { | ||
14 | return ".java"; | ||
15 | } | ||
16 | |||
17 | public Dictionary<string, IScript> compile(string filename) | ||
18 | { | ||
19 | JVMScript script = new JVMScript(); | ||
20 | Dictionary<string, IScript> returns = new Dictionary<string, IScript>(); | ||
21 | |||
22 | script.LoadScript(filename); | ||
23 | |||
24 | returns.Add(filename, script); | ||
25 | |||
26 | return returns; | ||
27 | } | ||
28 | } | ||
29 | } | ||