|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.eaio.nativecall.NativeCall | +--com.eaio.nativecall.IntCall
An IntCall instance encapsulates an operating system method that returns an integer.
Constructor Summary | |
IntCall(String function)
Constructor for IntCall. |
|
IntCall(String module,
String function)
Constructor for IntCall. |
Method Summary | |
boolean |
executeBooleanCall()
Returns false if calling executeCall() returned
0, true otherwise.
|
boolean |
executeBooleanCall(Object param)
Returns false if calling executeCall(Object)
returned 0, true otherwise.
|
boolean |
executeBooleanCall(Object[] params)
Returns false if calling
executeCall(Object[]) returned 0, true otherwise.
|
int |
executeCall()
Calls the function, returning its output. |
int |
executeCall(Object param)
Calls the function using the given parameter. |
int |
executeCall(Object[] params)
Calls the function using the given parameters. |
Methods inherited from class com.eaio.nativecall.NativeCall |
check, checkParam, destroy, equals, finalize, getLastError, getLastErrorCode, hashCode, init, toString, toStringBuffer |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IntCall(String function) throws SecurityException, IllegalArgumentException, NullPointerException
NativeCall.NativeCall(String)
public IntCall(String module, String function) throws SecurityException, IllegalArgumentException, NullPointerException
NativeCall.NativeCall(String, String)
Method Detail |
public boolean executeBooleanCall()
false
if calling executeCall()
returned
0, true
otherwise.
Updates the error code field. See NativeCall.getLastError()
.
true
or false
public boolean executeBooleanCall(Object param)
false
if calling executeCall(Object)
returned 0, true
otherwise.
Updates the error code field. See NativeCall.getLastError()
.
param
- the parameter, may be null
true
or false
executeBooleanCall(Object[])
public boolean executeBooleanCall(Object[] params)
false
if calling
executeCall(Object[])
returned 0, true
otherwise.
Updates the error code field. See NativeCall.getLastError()
.
During this operation, the contents of the array might be changed.
params
- the parameter array, may be null
true
or false
public int executeCall()
Updates the error code field. See NativeCall.getLastError()
.
int
public int executeCall(Object param)
Updates the error code field. See NativeCall.getLastError()
.
param
- the parameter, may be null
int
executeCall(Object[])
public int executeCall(Object[] params)
Updates the error code field. See NativeCall.getLastError()
.
During this operation, the contents of the array might be changed.
params
- the parameter array, may be null
int
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |