# source:trunk/abcl/doc/manual/java.tex@13438

Last change on this file since 13438 was 13438, checked in by Mark Evenson, 10 years ago

Manual renders to pdf via pdflatex.

File size: 6.5 KB
Line
1\begin{verbatim}
2
3%JGET-PROPERTY-VALUE
4  Function: Gets a JavaBeans property on JAVA-OBJECT.
5
6%JSET-PROPERTY-VALUE
7  Function: Sets a JavaBean property on JAVA-OBJECT.
8
9*JAVA-OBJECT-TO-STRING-LENGTH*
10 Variable: Length to truncate toString()
11 PRINT-OBJECT output for an otherwise unspecialized JAVA-OBJECT.  Can
12 be set to NIL to indicate no limit.
13
15  Function: (not documented)
16
17CHAIN
18  Function: (not documented)
19
20DESCRIBE-JAVA-OBJECT
21  Function: (not documented)
22
23DUMP-CLASSPATH
24  Function: (not documented)
25
26ENSURE-JAVA-CLASS
27  Function: (not documented)
28
29ENSURE-JAVA-OBJECT
30  Function: Ensures OBJ is wrapped in a JAVA-OBJECT, wrapping it if necessary.
31
33  Function: (not documented)
34
35JARRAY-COMPONENT-TYPE
36  Function: Returns the component type of the array type ATYPE
37
38JARRAY-LENGTH
39  Function: (not documented)
40
41JARRAY-REF
42 Function: Dereferences the Java array JAVA-ARRAY using the given
43 INDICIES, coercing the result into a Lisp object, if possible.
44
45JARRAY-REF-RAW
46 Function: Dereference the Java array JAVA-ARRAY using the given
47 INDICIES. Does not attempt to coerce the result into a Lisp object.
48
49JARRAY-SET
50  Function: Stores NEW-VALUE at the given index in JAVA-ARRAY.
51
52JAVA-CLASS
53  Class: (not documented)
54
55JAVA-EXCEPTION
56  Class: (not documented)
57
58JAVA-EXCEPTION-CAUSE
59  Function: Returns the cause of JAVA-EXCEPTION. (The cause is the Java Throwable
60
61JAVA-OBJECT
62  Class: (not documented)
63
64JAVA-OBJECT-P
65  Function: Returns T if OBJECT is a JAVA-OBJECT.
66
67JCALL
68 Function: Invokes the Java method METHOD-REF on INSTANCE with
69 arguments ARGS, coercing the result into a Lisp object, if possible.
70
71JCALL-RAW
72 Function: Invokes the Java method METHOD-REF on INSTANCE with
73 arguments ARGS. Does not attempt to coerce the result into a Lisp
74 object.
75
76JCLASS
77 Function: Returns a reference to the Java class designated by
78 NAME-OR-CLASS-REF. If the CLASS-LOADER parameter is passed, the class
79 is resolved with respect to the given ClassLoader.
80
81JCLASS-ARRAY-P
82  Function: Returns T if CLASS is an array class
83
84JCLASS-CONSTRUCTORS
85  Function: Returns a vector of constructors for CLASS
86
87JCLASS-FIELD
88  Function: Returns the field named FIELD-NAME of CLASS
89
90JCLASS-FIELDS
91  Function: Returns a vector of all (or just the declared/public, if
92  DECLARED/PUBLIC is true) fields of CLASS
93
94JCLASS-INTERFACE-P
95  Function: Returns T if CLASS is an interface
96
97JCLASS-INTERFACES
98  Function: Returns the vector of interfaces of CLASS
99
100JCLASS-METHODS
101  Function: Return a vector of all (or just the declared/public, if
102 DECLARED/PUBLIC is true) methods of CLASS
103
104JCLASS-NAME
105  Function: When called with one argument, returns the name of the Java class
106
107JCLASS-OF
108  Function: (not documented)
109
110JCLASS-SUPERCLASS
111  Function: Returns the superclass of CLASS, or NIL if it hasn't got one
112
113JCLASS-SUPERCLASS-P
114  Function: Returns T if CLASS-1 is a superclass or interface of CLASS-2
115
116JCOERCE
117  Function: Attempts to coerce OBJECT into a JavaObject of class
118 INTENDED-CLASS.  Raises a TYPE-ERROR if no conversion is possible.
119
120JCONSTRUCTOR
121  Function: Returns a reference to the Java constructor of CLASS-REF
122  with the given PARAMETER-CLASS-REFS.
123
124JCONSTRUCTOR-PARAMS
125  Function: Returns a vector of parameter types (Java classes) for CONSTRUCTOR
126
127JEQUAL
128  Function: Compares obj1 with obj2 using java.lang.Object.equals()
129
130JFIELD
131  Function: Retrieves or modifies a field in a Java class or instance.
132
133JFIELD-NAME
134  Function: Returns the name of FIELD as a Lisp string
135
136JFIELD-RAW
137  Function: Retrieves or modifies a field in a Java class or instance. Does not
138
139JFIELD-TYPE
140  Function: Returns the type (Java class) of FIELD
141
142JINSTANCE-OF-P
143  Function: OBJ is an instance of CLASS (or one of its subclasses)
144
145JINTERFACE-IMPLEMENTATION
146  Function: Creates and returns an implementation of a Java interface with
147
148JMAKE-INVOCATION-HANDLER
149  Function: (not documented)
150
151JMAKE-PROXY
152  Function: (not documented)
153
154JMEMBER-PROTECTED-P
155  Function: MEMBER is a protected member of its declaring class
156
157JMEMBER-PUBLIC-P
158  Function: MEMBER is a public member of its declaring class
159
160JMEMBER-STATIC-P
161  Function: MEMBER is a static member of its declaring class
162
163JMETHOD
164  Function: Returns a reference to the Java method METHOD-NAME of
165  CLASS-REF with the given PARAMETER-CLASS-REFS.
166
167JMETHOD-LET
168  Function: (not documented)
169
170JMETHOD-NAME
171  Function: Returns the name of METHOD as a Lisp string
172
173JMETHOD-PARAMS
174  Function: Returns a vector of parameter types (Java classes) for METHOD
175
176JMETHOD-RETURN-TYPE
177  Function: Returns the result type (Java class) of the METHOD
178
179JNEW
180  Function: Invokes the Java constructor CONSTRUCTOR with the arguments ARGS.
181
182JNEW-ARRAY
183  Function: Creates a new Java array of type ELEMENT-TYPE, with the given DIMENSIONS.
184
185JNEW-ARRAY-FROM-ARRAY
186  Function: Returns a new Java array with base type ELEMENT-TYPE (a string or a class-ref)
187
188JNEW-ARRAY-FROM-LIST
189  Function: (not documented)
190
191JNEW-RUNTIME-CLASS
192  Function: (not documented)
193
194JNULL-REF-P
195  Function: Returns a non-NIL value when the JAVA-OBJECT object is null,
196
197JOBJECT-CLASS
198  Function: Returns the Java class that OBJ belongs to
199
200JOBJECT-LISP-VALUE
201  Function: Attempts to coerce JAVA-OBJECT into a Lisp object.
202
203JPROPERTY-VALUE
204  Function: (not documented)
205
206JREDEFINE-METHOD
207  Function: (not documented)
208
209JREGISTER-HANDLER
210  Function: (not documented)
211
212JRESOLVE-METHOD
213  Function: Finds the most specific Java method METHOD-NAME on
214  INSTANCE applicable to arguments ARGS. Returns NIL if no suitable
215  method is found. The algorithm used for resolution is the same used
216  by JCALL when it is called with a string as the first parameter
217 (METHOD-REF).
218
219JRUN-EXCEPTION-PROTECTED
220  Function: Invokes the function CLOSURE and returns the result.
221  Signals an error if stack or heap exhaustion occurs.
222
223JRUNTIME-CLASS-EXISTS-P
224  Function: (not documented)
225
226JSTATIC
227  Function: Invokes the static method METHOD on class CLASS with ARGS.
228
229JSTATIC-RAW
230  Function: Invokes the static method METHOD on class CLASS with
231  ARGS. Does not attempt to coerce the arguments or result into a Lisp
232  object.
233
235  Function: (not documented)
236
237MAKE-IMMEDIATE-OBJECT
238  Function: Attempts to coerce a given Lisp object into a java-object of the
239
240REGISTER-JAVA-EXCEPTION
241  Function: Registers the Java Throwable named by the symbol
242  EXCEPTION-NAME as the condition designated by CONDITION-SYMBOL.
243  Returns T if successful, NIL if not.
244
245UNREGISTER-JAVA-EXCEPTION
246  Function: Unregisters the Java Throwable EXCEPTION-NAME previously registered by REGISTER-JAVA-EXCEPTION.
247
248\end{verbatim}
Note: See TracBrowser for help on using the repository browser.