summaryrefslogtreecommitdiffstats
path: root/src/bindings/swig/java/uscxml.i
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/swig/java/uscxml.i')
-rw-r--r--src/bindings/swig/java/uscxml.i6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bindings/swig/java/uscxml.i b/src/bindings/swig/java/uscxml.i
index 9a86c28..e9b6bf0 100644
--- a/src/bindings/swig/java/uscxml.i
+++ b/src/bindings/swig/java/uscxml.i
@@ -96,7 +96,7 @@ using namespace Arabica::DOM;
%enddef
WRAP_THROW_EXCEPTION(uscxml::Interpreter::fromXML);
-WRAP_THROW_EXCEPTION(uscxml::Interpreter::fromURI);
+WRAP_THROW_EXCEPTION(uscxml::Interpreter::fromURL);
WRAP_THROW_EXCEPTION(uscxml::Interpreter::step);
WRAP_THROW_EXCEPTION(uscxml::Interpreter::interpret);
@@ -231,8 +231,8 @@ import java.net.URL;
%}
%typemap(javacode) uscxml::Interpreter %{
- public static Interpreter fromURI(URL uri) throws org.uscxml.InterpreterException {
- return Interpreter.fromURI(uri.toString());
+ public static Interpreter fromURL(URL uri) throws org.uscxml.InterpreterException {
+ return Interpreter.fromURL(uri.toString());
}
public Map<String, NativeIOProcessor> getIOProcessors() {