diff --git a/README.html b/README.html index 28022618..d137defc 100644 --- a/README.html +++ b/README.html @@ -513,17 +513,22 @@ The lua connand line tool includes luajava.

5 - LuaJ API

API Javadoc

-The distribution now contains javadoc for the main classes in the LuaJ API. +The javadoc for the main classes in the LuaJ API are on line at
-	 docs/api/index.html
+	 http://luaj.sourceforge.net/api/2.0
+
+ +You can also build a local version from sources using +
+	 ant doc
 

LuaValue and Varargs

All lua value manipulation is now organized around -LuaValue +LuaValue which exposes the majority of interfaces used for lua computation.
-	 org.luaj.vm2.LuaValue
+	 org.luaj.vm2.LuaValue
 

Common Functions

@@ -546,12 +551,12 @@ Some commonly used functions and constants include:

Varargs

-The interface Varargs provides an abstraction for +The interface Varargs provides an abstraction for both a variable argument list and multiple return values. For convenience, LuaValue implements Varargs so a single value can be supplied anywhere variable arguments are expected.
-	 org.luaj.vm2.Varargs
+	 org.luaj.vm2.Varargs
 

Common Functions

@@ -565,18 +570,18 @@ variable arguments are expected. optlong(int n,long d); // return n if a long, d if no argument, or error if not a long -See the Varargs API for a complete list. +See the Varargs API for a complete list.

LibFunction

The simplest way to implement a function is to choose a base class based on the number of arguments to the function. LuaJ provides 5 base classes for this purpose, depending if the function has 0, 1, 2, 3 or variable arguments, and if it provide multiple return values.
-	 org.luaj.vm2.lib.ZeroArgFunction
-	 org.luaj.vm2.lib.OneArgFunction
-	 org.luaj.vm2.lib.TwoArgFunction
-	 org.luaj.vm2.lib.ThreeArgFunction
-	 org.luaj.vm2.lib.VarArgFunction
+	 org.luaj.vm2.lib.ZeroArgFunction
+	 org.luaj.vm2.lib.OneArgFunction
+	 org.luaj.vm2.lib.TwoArgFunction
+	 org.luaj.vm2.lib.ThreeArgFunction
+	 org.luaj.vm2.lib.VarArgFunction
 
Each of these functions has an abstract method that must be implemented, @@ -650,7 +655,7 @@ For example, to parse a file and print all variable names, use code like:

-See the org.luaj.vm2.ast package javadoc for the API relating to the syntax tree that is produced. +See the org.luaj.vm2.ast package javadoc for the API relating to the syntax tree that is produced.

7 - Building and Testing