A B C D E F G I J L M N O P R S T U V W Z

A

addPath(List) - Method in interface com.smardec.j2native.LibraryLoader
Adds additional paths where native libraries could be found.
addPath(String) - Method in interface com.smardec.j2native.LibraryLoader
Adds additional paths where native libraries could be found.
AnsiString - class com.smardec.j2native.AnsiString.
AnsiString class is a wrapper for zero-terminated string of an 8-bit (ANSI) character declared in C as (char *).
AnsiString() - Constructor for class com.smardec.j2native.AnsiString
Constructs an empty string
AnsiString(String) - Constructor for class com.smardec.j2native.AnsiString
Constructs a string with specified value
AnsiString(String, int) - Constructor for class com.smardec.j2native.AnsiString
Constructs a string with specified value and sets maximum chars quantity
Argument - class com.smardec.j2native.Argument.
Argument class is wrapper through which Java interacts with native part.
ARGUMENT_DEFINED_RESULTING_MECHANIZM - Static variable in class com.smardec.j2native.Function
Mechanizm of the returning result will be defined by returning argument, it is default behaviour of the function
Argument() - Constructor for class com.smardec.j2native.Argument
Default constructor of Argument
ArrayArgument - class com.smardec.j2native.ArrayArgument.
ArrayArgument class represents an array of primitive types such as array of bytes or array of integer values.
ArrayArgument(Argument[]) - Constructor for class com.smardec.j2native.ArrayArgument
Constructs an array object taking a specified Argument array.
ArrayArgument(Argument, int) - Constructor for class com.smardec.j2native.ArrayArgument
Constructs an array object of specified length.
ArrayArgument(Class, int) - Constructor for class com.smardec.j2native.ArrayArgument
Constructs an array of objects of a specified class and size.
ArrayType - interface com.smardec.j2native.ArrayType.
Common interface for all types representing arrays.

B

bits2Value(long) - Method in class com.smardec.j2native.NumericArgument
Sets the value by its bit representation.
bits2Value(long) - Method in class com.smardec.j2native.SimpleFloat
 
bits2Value(long) - Method in class com.smardec.j2native.IntegerArgument
 
bits2Value(long) - Method in class com.smardec.j2native.FloatArgument
 
Bool - class com.smardec.j2native.Bool.
Bool class represents bool (boolean) type.
Bool() - Constructor for class com.smardec.j2native.Bool
Constructs a Bool object with a false value.
Bool(boolean) - Constructor for class com.smardec.j2native.Bool
Constructs a Bool object with a specified value.
booleanValue() - Method in class com.smardec.j2native.Int
 
booleanValue() - Method in class com.smardec.j2native.UInt
 
booleanValue() - Method in interface com.smardec.j2native.NumericType
Returns the value of the specified number as a boolean.
booleanValue() - Method in class com.smardec.j2native.IntegerArgument
 
booleanValue() - Method in class com.smardec.j2native.FloatArgument
 
byteValue() - Method in class com.smardec.j2native.Int
 
byteValue() - Method in class com.smardec.j2native.UInt
 
byteValue() - Method in interface com.smardec.j2native.NumericType
Returns the value of the specified number as a byte.
byteValue() - Method in class com.smardec.j2native.IntegerArgument
 
byteValue() - Method in class com.smardec.j2native.FloatArgument
 

C

call(String, String, Argument) - Static method in class com.smardec.j2native.Function
Loads Library, specified by it's name, locates within it specified function, passes arguments to this function and then invokes it.
call(String, String, Argument, Argument) - Static method in class com.smardec.j2native.Function
Loads Library, specified by it's name, locates within it specified function, passes arguments to this function and then invokes it.
call(String, String, Argument, Argument[]) - Static method in class com.smardec.j2native.Function
Loads Library, specified by it's name, locates within it specified function, passes arguments to this function and then invokes it.
call(String, String, Argument, Argument, Argument) - Static method in class com.smardec.j2native.Function
Loads Library, specified by it's name, locates within it specified function, passes arguments to this function and then invokes it.
call(String, String, Argument, Argument, Argument, Argument) - Static method in class com.smardec.j2native.Function
Loads Library, specified by it's name, locates within it specified function, passes arguments to this function and then invokes it.
call(String, String, Argument, Argument, Argument, Argument, Argument) - Static method in class com.smardec.j2native.Function
Loads Library, specified by it's name, locates within it specified function, passes arguments to this function and then invokes it.
Callback - class com.smardec.j2native.Callback.
Callback is a superclass for all classes representing callback functions.
callback() - Method in class com.smardec.j2native.Callback
This method is called when callback function is called.
Callback() - Constructor for class com.smardec.j2native.Callback
Constructs a Callback instance.
Callback(Argument, Argument[]) - Constructor for class com.smardec.j2native.Callback
Constructs a Callback instance.
CDECL_CALLING_CONVENTION - Static variable in class com.smardec.j2native.Function
CDECL calling convention
Char - class com.smardec.j2native.Char.
Char class represents the char value and type.
Char() - Constructor for class com.smardec.j2native.Char
Constructs a Char object with a '\n' value.
Char(char) - Constructor for class com.smardec.j2native.Char
Constructs a Bool object with a specified value.
clone() - Method in class com.smardec.j2native.DoubleFloat
 
clone() - Method in class com.smardec.j2native.Structure
 
clone() - Method in class com.smardec.j2native.WideChar
 
clone() - Method in class com.smardec.j2native.Int
 
clone() - Method in class com.smardec.j2native.ArrayArgument
 
clone() - Method in class com.smardec.j2native.SimpleFloat
 
clone() - Method in class com.smardec.j2native.UInt
 
clone() - Method in class com.smardec.j2native.Int16
 
clone() - Method in class com.smardec.j2native.Int64
 
clone() - Method in class com.smardec.j2native.Callback
This method throws UnsupportedOperationException because we cannot provide default behaviour as creating simple Callback object, when creation of child is unavaliable.
clone() - Method in class com.smardec.j2native.Int32
 
clone() - Method in class com.smardec.j2native.Int8
 
clone() - Method in class com.smardec.j2native.OutOnly
 
clone() - Method in class com.smardec.j2native.WideString
 
clone() - Method in class com.smardec.j2native.AnsiString
 
clone() - Method in class com.smardec.j2native.Bool
 
clone() - Method in class com.smardec.j2native.UInt16
 
clone() - Method in class com.smardec.j2native.Char
 
clone() - Method in class com.smardec.j2native.Argument
Creates and returns a copy of this object.
clone() - Method in class com.smardec.j2native.Union
 
clone() - Method in class com.smardec.j2native.UInt32
 
clone() - Method in class com.smardec.j2native.Pointer
 
clone() - Method in class com.smardec.j2native.Pointer.Void
 
clone() - Method in class com.smardec.j2native.Pointer.Const
 
clone() - Method in class com.smardec.j2native.Pointer.OutOnly
 
clone() - Method in class com.smardec.j2native.Const
 
clone() - Method in class com.smardec.j2native.UInt8
 
com.smardec.j2native - package com.smardec.j2native
 
Const - class com.smardec.j2native.Const.
Const class represents a read-only argument.
Const(Argument) - Constructor for class com.smardec.j2native.Const
Constructs the Const object by wrapping a specified Argument object.

D

DEFAULT_CALLING_CONVENTION - Static variable in class com.smardec.j2native.Function
System default calling convention
DelegatedArgument - class com.smardec.j2native.DelegatedArgument.
Abstract DelegatedArgument class represents a base class for all classes exact value of which is delegated to different object.
DelegatedArgument() - Constructor for class com.smardec.j2native.DelegatedArgument
 
dispose() - Method in class com.smardec.j2native.Callback
Releases resources associated with this callback.
DoubleFloat - class com.smardec.j2native.DoubleFloat.
DoubleFloat represents double float value and type.
DoubleFloat() - Constructor for class com.smardec.j2native.DoubleFloat
Constructs a DoubleFloat object with a zero value.
DoubleFloat(double) - Constructor for class com.smardec.j2native.DoubleFloat
Constructs a DoubleFloat object with a specified value.
doubleValue() - Method in class com.smardec.j2native.Int
 
doubleValue() - Method in class com.smardec.j2native.UInt
 
doubleValue() - Method in interface com.smardec.j2native.NumericType
Returns the value of the specified number as a double.
doubleValue() - Method in class com.smardec.j2native.IntegerArgument
 
doubleValue() - Method in class com.smardec.j2native.FloatArgument
 

E

ensureNativeCodeLoaded() - Static method in class com.smardec.j2native.Library
Check if native part of J2Native is loaded, and loads it if needed.

F

FAKE_LIBRARY - Static variable in class com.smardec.j2native.Library
 
finalize() - Method in class com.smardec.j2native.DelegatedArgument
 
finalize() - Method in class com.smardec.j2native.Argument
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
FLOAT_VALUE_RESULTING_MECHANIZM - Static variable in class com.smardec.j2native.Function
Result value of the function will be stored in the FP0 FPU register.
FloatArgument - class com.smardec.j2native.FloatArgument.
FloatArgument is a base class for all floating-point types.
FloatArgument(double) - Constructor for class com.smardec.j2native.FloatArgument
Constructs a floating-point object with a specified value
FloatType - interface com.smardec.j2native.FloatType.
Common interface for all floating-point types
floatValue() - Method in class com.smardec.j2native.Int
 
floatValue() - Method in class com.smardec.j2native.UInt
 
floatValue() - Method in interface com.smardec.j2native.NumericType
Returns the value of the specified number as a float.
floatValue() - Method in class com.smardec.j2native.IntegerArgument
 
floatValue() - Method in class com.smardec.j2native.FloatArgument
 
FORCED_STANDART_RESULTING_MECHANIZM - Static variable in class com.smardec.j2native.Function
Despite of returning mechanizm setted by return argument, standart way of obtaining function result will be used.
free() - Method in class com.smardec.j2native.Structure
 
free() - Method in class com.smardec.j2native.DelegatedArgument
 
free() - Method in class com.smardec.j2native.Argument
To avoid memory leaks in native memory should be used this method.
fromArgumentsArray(Argument[]) - Method in class com.smardec.j2native.ArrayArgument
 
fromArgumentsArray(Argument[]) - Method in interface com.smardec.j2native.ArrayType
Sets array contents to the given values.
fromBytesValue(byte[], int) - Method in class com.smardec.j2native.Structure
 
fromBytesValue(byte[], int) - Method in class com.smardec.j2native.PointerArgument
 
fromBytesValue(byte[], int) - Method in class com.smardec.j2native.NumericArgument
 
fromBytesValue(byte[], int) - Method in class com.smardec.j2native.ArrayArgument
 
fromBytesValue(byte[], int) - Method in class com.smardec.j2native.DelegatedArgument
 
fromBytesValue(byte[], int) - Method in class com.smardec.j2native.Callback
 
fromBytesValue(byte[], int) - Method in class com.smardec.j2native.WideString
 
fromBytesValue(byte[], int) - Method in class com.smardec.j2native.AnsiString
 
fromBytesValue(byte[], int) - Method in class com.smardec.j2native.Argument
Restores itself from provided array of bytes.
fromBytesValue(byte[], int) - Method in class com.smardec.j2native.Union
 
Function - class com.smardec.j2native.Function.
Function class is Java representation of the native function.
Function(long, byte) - Constructor for class com.smardec.j2native.Function
Creates new Function.
Function(long, byte, String) - Constructor for class com.smardec.j2native.Function
Creates new Function.
FunctionExecutionException - exception com.smardec.j2native.FunctionExecutionException.
This exception is thrown if an error occurs during a native function call.
FunctionExecutionException(String) - Constructor for class com.smardec.j2native.FunctionExecutionException
 
FunctionExecutionException(String, String, String) - Constructor for class com.smardec.j2native.FunctionExecutionException
 
FunctionNotFoundException - exception com.smardec.j2native.FunctionNotFoundException.
This exception is thrown if requested native function was not found in the specified library.
FunctionNotFoundException(String) - Constructor for class com.smardec.j2native.FunctionNotFoundException
 
FunctionNotFoundException(String, String) - Constructor for class com.smardec.j2native.FunctionNotFoundException
 

G

getActiveMember() - Method in class com.smardec.j2native.Union
Returns currently active member.
getAlignedArgumentLength(int) - Static method in class com.smardec.j2native.J2NativeContext
Calculate and returns aligned argument length.
getAlignedLength() - Method in class com.smardec.j2native.DelegatedArgument
 
getAlignedLength() - Method in class com.smardec.j2native.Argument
Returns aligned to mashine word lenght of the Argument.
getArgumentAlignment() - Static method in class com.smardec.j2native.J2NativeContext
Returns alignment of argument.
getArguments() - Method in class com.smardec.j2native.Callback
Returns callback function's arguments.
getAt(int) - Method in class com.smardec.j2native.TypedPointer
If we know exactly lenght of the referenced Argument, we can represent this pointer as array pointer and perform iteration through this array.
getAt(int, int) - Method in class com.smardec.j2native.TypedPointer
Returns new Argument object, constructed from referenced Argument and filled with a value retrieved from native memory.
getBoolLength() - Static method in class com.smardec.j2native.J2NativeContext
Returns length of boolean in bytes.
getByteLength() - Static method in class com.smardec.j2native.J2NativeContext
Returns length of byte in bytes.
getCallingConvention() - Method in class com.smardec.j2native.Callback
Returns calling convention for callback function.
getCallingConvention() - Method in class com.smardec.j2native.Function
Returns function calling convention.
getCharLength() - Method in class com.smardec.j2native.ZeroTerminatedString
Returns the character length
getCharLength() - Method in class com.smardec.j2native.WideString
 
getCharLength() - Method in class com.smardec.j2native.AnsiString
 
getDefaultCallingConvention() - Static method in class com.smardec.j2native.J2NativeContext
Returns default calling convention for the native pat.
getDefaultStructureAlignment() - Static method in class com.smardec.j2native.J2NativeContext
Returns alignment of structure.
getDoubleLength() - Static method in class com.smardec.j2native.J2NativeContext
Returns length of double in bytes.
getElement(int) - Method in class com.smardec.j2native.ArrayArgument
 
getElement(int) - Method in interface com.smardec.j2native.ArrayType
Returns an array item specified by an index.
getElementsCount() - Method in class com.smardec.j2native.ArrayArgument
 
getElementsCount() - Method in interface com.smardec.j2native.ArrayType
Returns the number of elements in the array.
getFloatLength() - Static method in class com.smardec.j2native.J2NativeContext
Returns length of float in bytes.
getFunction(String) - Method in class com.smardec.j2native.Library
Locate and returns Function with specified name.
getInternalValue() - Method in class com.smardec.j2native.DelegatedArgument
Returns internal Argument object to which all invokes are passed.
getIntLength() - Static method in class com.smardec.j2native.J2NativeContext
Returns length of int in bytes.
getLength() - Method in class com.smardec.j2native.ZeroTerminatedString
Additional info: due to every zero-terminated ends with zero value we add additional character to encode zero.
getLength() - Method in class com.smardec.j2native.DoubleFloat
 
getLength() - Method in class com.smardec.j2native.Structure
 
getLength() - Method in class com.smardec.j2native.PointerArgument
 
getLength() - Method in class com.smardec.j2native.ArrayArgument
 
getLength() - Method in class com.smardec.j2native.SimpleFloat
 
getLength() - Method in class com.smardec.j2native.Int16
 
getLength() - Method in class com.smardec.j2native.DelegatedArgument
 
getLength() - Method in class com.smardec.j2native.Int64
 
getLength() - Method in class com.smardec.j2native.Callback
 
getLength() - Method in class com.smardec.j2native.Int32
 
getLength() - Method in class com.smardec.j2native.Int8
 
getLength() - Method in class com.smardec.j2native.StructuralArgument
 
getLength() - Method in class com.smardec.j2native.UInt16
 
getLength() - Method in class com.smardec.j2native.Argument
Returns length in bytes.
getLength() - Method in class com.smardec.j2native.Union
 
getLength() - Method in class com.smardec.j2native.UInt32
 
getLength() - Method in class com.smardec.j2native.UInt8
 
getLibraryLoader() - Static method in class com.smardec.j2native.Library
Returns default LibraryLoader.
getLongDoubleLength() - Static method in class com.smardec.j2native.J2NativeContext
Returns length of long double in bytes.
getLongLength() - Static method in class com.smardec.j2native.J2NativeContext
Returns length of long int in bytes.
getMaxSize() - Method in class com.smardec.j2native.ZeroTerminatedString
 
getMaxSize() - Method in interface com.smardec.j2native.StringType
Getter for string argument maximum size
getMembers() - Method in class com.smardec.j2native.Structure
Returns structure members.
getMembers() - Method in class com.smardec.j2native.Union
Returns union members.
getName() - Method in class com.smardec.j2native.Function
Returns name of the function.
getName() - Method in class com.smardec.j2native.Library
Returns library name.
getPointerLength() - Static method in class com.smardec.j2native.J2NativeContext
Returns length of pointer in bytes.
getReferencedArgument() - Method in class com.smardec.j2native.Pointer.Void
 
getReferencedArgument() - Method in class com.smardec.j2native.TypedPointer
Return Argument this pointer is referenced to.
getReferencedArgument() - Method in interface com.smardec.j2native.PointerType
Returns the referenced object of this pointer
getResultFlags() - Method in class com.smardec.j2native.Callback
Callback function return value mechanizm.
getResultFlags() - Method in class com.smardec.j2native.Argument
Returns result specific flags.
getResultFlags() - Method in class com.smardec.j2native.FloatArgument
 
getReturnArgument() - Method in class com.smardec.j2native.Callback
Returns callback function's return value.
getReturnFlags() - Method in class com.smardec.j2native.Function
Function return value mechanizm.
getShortLength() - Static method in class com.smardec.j2native.J2NativeContext
Returns length of short int in bytes.
getValue() - Method in class com.smardec.j2native.ZeroTerminatedString
 
getValue() - Method in class com.smardec.j2native.WideChar
Returns the char value.
getValue() - Method in interface com.smardec.j2native.StringType
Getter for the string value of the argument
getValue() - Method in class com.smardec.j2native.Bool
Returns the boolean value of Bool object.
getValue() - Method in class com.smardec.j2native.Char
Returns the char value.
getValue() - Method in class com.smardec.j2native.Pointer.Void
 
getValue() - Method in class com.smardec.j2native.TypedPointer
 
getValue() - Method in interface com.smardec.j2native.PointerType
Returns native memory handle
getWideCharLength() - Static method in class com.smardec.j2native.J2NativeContext
Returns length of wide char in bytes.

I

IllegalMemoryAccessException - exception com.smardec.j2native.IllegalMemoryAccessException.
This exception is thrown when a native library code attempts to reference an invalid memory location.
IllegalMemoryAccessException(String) - Constructor for class com.smardec.j2native.IllegalMemoryAccessException
 
initialize(Argument[]) - Method in class com.smardec.j2native.Structure
Initializes the Structureinstance with specified structure members.
initialize(Argument[]) - Method in class com.smardec.j2native.Union
Initialize union and sets union members.
initialize(Argument, Argument[]) - Method in class com.smardec.j2native.Callback
Initializes callback arguments.
Int - class com.smardec.j2native.Int.
Int represents a platform-dependent signed integer value and type, so on 32-bits platform Int works as Int32.
Int() - Constructor for class com.smardec.j2native.Int
Constructs a Int object with a zero value.
Int(long) - Constructor for class com.smardec.j2native.Int
Constructs a Int object with a specified value.
Int16 - class com.smardec.j2native.Int16.
Int16 represents a 16-bit integer value and type.
Int16() - Constructor for class com.smardec.j2native.Int16
Constructs a Int16 object with a zero value.
Int16(short) - Constructor for class com.smardec.j2native.Int16
Constructs a Int16 object with a specified value.
Int32 - class com.smardec.j2native.Int32.
Int32 represents a 32-bit integer value and type.
Int32() - Constructor for class com.smardec.j2native.Int32
Constructs a Int32 object with a zero value.
Int32(int) - Constructor for class com.smardec.j2native.Int32
Constructs a Int32 object with a specified value.
Int64 - class com.smardec.j2native.Int64.
Int64 represents a 64-bit integer value and type.
Int64() - Constructor for class com.smardec.j2native.Int64
Constructs a Int64 object with a zero value.
Int64(long) - Constructor for class com.smardec.j2native.Int64
Constructs a Int64 object with a specified value.
Int8 - class com.smardec.j2native.Int8.
Int8 represents a 8-bit integer value and type.
Int8() - Constructor for class com.smardec.j2native.Int8
Constructs a Int8 object with a zero value.
Int8(byte) - Constructor for class com.smardec.j2native.Int8
Constructs a Int8 object with a specified value.
IntegerArgument - class com.smardec.j2native.IntegerArgument.
IntegerArgument is a base class for all integer types.
IntegerArgument(long) - Constructor for class com.smardec.j2native.IntegerArgument
Constructs an integer object with a specified value
IntegerType - interface com.smardec.j2native.IntegerType.
Common interface for all integer types
intValue() - Method in class com.smardec.j2native.Int
 
intValue() - Method in class com.smardec.j2native.UInt
 
intValue() - Method in interface com.smardec.j2native.NumericType
Returns the value of the specified number as an int.
intValue() - Method in class com.smardec.j2native.IntegerArgument
 
intValue() - Method in class com.smardec.j2native.FloatArgument
 
invoke(Argument) - Method in class com.smardec.j2native.Function
Invokes native function, that associate with this Function instance.
invoke(Argument, Argument) - Method in class com.smardec.j2native.Function
Invokes native function, that associate with this Function instance.
invoke(Argument, Argument[]) - Method in class com.smardec.j2native.Function
Invokes native function, that associate with this Function instance.
invoke(Argument, Argument, Argument) - Method in class com.smardec.j2native.Function
Invokes native function, that associate with this Function instance.
invoke(Argument, Argument, Argument, Argument) - Method in class com.smardec.j2native.Function
Invokes native function, that associate with this Function instance.
invoke(Argument, Argument, Argument, Argument, Argument) - Method in class com.smardec.j2native.Function
Invokes native function, that associate with this Function instance.
isAutoResize() - Method in class com.smardec.j2native.ZeroTerminatedString
 
isAutoResize() - Method in interface com.smardec.j2native.StringType
Shows if string argument is autoresizeable.
isFixedLength() - Method in class com.smardec.j2native.ZeroTerminatedString
 
isFixedLength() - Method in class com.smardec.j2native.Structure
 
isFixedLength() - Method in class com.smardec.j2native.WideChar
 
isFixedLength() - Method in class com.smardec.j2native.PointerArgument
 
isFixedLength() - Method in class com.smardec.j2native.Int
 
isFixedLength() - Method in class com.smardec.j2native.ArrayArgument
 
isFixedLength() - Method in class com.smardec.j2native.UInt
 
isFixedLength() - Method in class com.smardec.j2native.DelegatedArgument
 
isFixedLength() - Method in class com.smardec.j2native.Callback
 
isFixedLength() - Method in class com.smardec.j2native.IntegerArgument
 
isFixedLength() - Method in class com.smardec.j2native.Bool
 
isFixedLength() - Method in class com.smardec.j2native.Char
 
isFixedLength() - Method in class com.smardec.j2native.Argument
Identify if Argument is a fixed length variable.
isFixedLength() - Method in class com.smardec.j2native.Union
 
isFixedLength() - Method in class com.smardec.j2native.FloatArgument
 
isFloat() - Method in class com.smardec.j2native.NumericArgument
Shows if number is of floating-point type
isFloat() - Method in class com.smardec.j2native.IntegerArgument
 
isFloat() - Method in class com.smardec.j2native.FloatArgument
 
isLoaded() - Method in class com.smardec.j2native.Library
Returns if library loaded.
isNull() - Method in class com.smardec.j2native.Pointer.Void
 
isNull() - Method in class com.smardec.j2native.TypedPointer
 
isNull() - Method in interface com.smardec.j2native.PointerType
Tests if this pointer is null.
isSigned() - Method in class com.smardec.j2native.DoubleFloat
 
isSigned() - Method in class com.smardec.j2native.NumericArgument
Shows if number is signed
isSigned() - Method in class com.smardec.j2native.SimpleFloat
 
isSigned() - Method in class com.smardec.j2native.Int16
 
isSigned() - Method in class com.smardec.j2native.Int64
 
isSigned() - Method in class com.smardec.j2native.Int32
 
isSigned() - Method in class com.smardec.j2native.Int8
 
isSigned() - Method in class com.smardec.j2native.UInt16
 
isSigned() - Method in class com.smardec.j2native.UInt32
 
isSigned() - Method in class com.smardec.j2native.UInt8
 

J

J2NativeContext - class com.smardec.j2native.J2NativeContext.
J2NativeContext class is a platform dependent context.
JAVA_SIDE - Static variable in class com.smardec.j2native.Argument
Shows that java part should be updated

L

Library - class com.smardec.j2native.Library.
Library class is Java representation of the native library.
Library(String) - Constructor for class com.smardec.j2native.Library
Library constructor.
LibraryLoader - interface com.smardec.j2native.LibraryLoader.
Interface for any of the LibraryLoader-s.
LibraryNotFoundException - exception com.smardec.j2native.LibraryNotFoundException.
This exception is thrown when a native library cannot be loaded.
LibraryNotFoundException() - Constructor for class com.smardec.j2native.LibraryNotFoundException
 
LibraryNotFoundException(String) - Constructor for class com.smardec.j2native.LibraryNotFoundException
 
load() - Method in class com.smardec.j2native.Library
Loads library.
load(File) - Method in class com.smardec.j2native.Library
Loads library from specified directory.
load(LibraryLoader) - Method in class com.smardec.j2native.Library
Loads library using specified LibraryLoader.
loadLibrary(Library) - Method in interface com.smardec.j2native.LibraryLoader
Loads the native library.
loadNativeCode() - Static method in class com.smardec.j2native.Library
Loads J2Native library, that is native part of the wrapper system.
loadNativeCode(LibraryLoader) - Static method in class com.smardec.j2native.Library
Loads J2Native library, that is native part of the wrapper system.
loadNativeCode(LibraryLoader, String) - Static method in class com.smardec.j2native.Library
Loads J2Native library, that is native part of the wrapper system.
loadNativeCode(String) - Static method in class com.smardec.j2native.Library
Loads J2Native library, that is native part of the wrapper system.
locateLibrary(Library) - Method in interface com.smardec.j2native.LibraryLoader
Locates native library.
longValue() - Method in class com.smardec.j2native.Int
 
longValue() - Method in class com.smardec.j2native.UInt
 
longValue() - Method in interface com.smardec.j2native.NumericType
Returns the value of the specified number as a long.
longValue() - Method in class com.smardec.j2native.IntegerArgument
 
longValue() - Method in class com.smardec.j2native.FloatArgument
 

M

MemoryException - exception com.smardec.j2native.MemoryException.
This exception is thrown when a native library code attempts to manipulate native memory and fails.
MemoryException(String) - Constructor for class com.smardec.j2native.MemoryException
 

N

NATIVE_SIDE - Static variable in class com.smardec.j2native.Argument
Shows that native part should be updated
NumericArgument - class com.smardec.j2native.NumericArgument.
Abstract class NumericArgument is a partly realization of common interface NumericType.
NumericArgument() - Constructor for class com.smardec.j2native.NumericArgument
 
NumericType - interface com.smardec.j2native.NumericType.
Common interface for all numeric types

O

OutOnly - class com.smardec.j2native.OutOnly.
OutOnly class represents an argument that is only written by a native function.
OutOnly(Argument) - Constructor for class com.smardec.j2native.OutOnly
Constructs the OutOnly object by wrapping a specified Argument object.

P

PASCAL_CALLING_CONVENTION - Static variable in class com.smardec.j2native.Function
PASCAL calling convention
Pointer - class com.smardec.j2native.Pointer.
Pointer class represents a pointer to object in terms of C language.
Pointer.Const - class com.smardec.j2native.Pointer.Const.
Class Pointer.Const represents a pointer to constant object
Pointer.Const(Argument) - Constructor for class com.smardec.j2native.Pointer.Const
Constructs a new pointer to the given constant object.
Pointer.OutOnly - class com.smardec.j2native.Pointer.OutOnly.
Class Pointer.OutOnly represents a pointer to out only object.
Pointer.OutOnly(Argument) - Constructor for class com.smardec.j2native.Pointer.OutOnly
Constructs a new pointer to the given out only object.
Pointer.Void - class com.smardec.j2native.Pointer.Void.
Class Pointer.Void represents a void *.
Pointer.Void() - Constructor for class com.smardec.j2native.Pointer.Void
Constructs a new null pointer.
Pointer.Void(long) - Constructor for class com.smardec.j2native.Pointer.Void
Constructs a new void pointer that has the given value.
Pointer(Argument) - Constructor for class com.smardec.j2native.Pointer
Constructs a new pointer to a given object.
PointerArgument - class com.smardec.j2native.PointerArgument.
PointerArgument is an abstract class with a partly realized PointerType interface.
PointerArgument() - Constructor for class com.smardec.j2native.PointerArgument
 
PointerType - interface com.smardec.j2native.PointerType.
This interface represents a pointer to object in terms of C language

R

read(long, int) - Method in class com.smardec.j2native.ZeroTerminatedString
 
read(long, int) - Method in class com.smardec.j2native.Structure
 
read(long, int) - Method in class com.smardec.j2native.PointerArgument
 
read(long, int) - Method in class com.smardec.j2native.NumericArgument
 
read(long, int) - Method in class com.smardec.j2native.ArrayArgument
 
read(long, int) - Method in class com.smardec.j2native.DelegatedArgument
 
read(long, int) - Method in class com.smardec.j2native.Callback
do nothing
read(long, int) - Method in class com.smardec.j2native.Argument
Reads itself from the memory.
read(long, int) - Method in class com.smardec.j2native.Union
 
read(long, int) - Method in class com.smardec.j2native.Pointer.Const
do nothing
read(long, int) - Method in class com.smardec.j2native.TypedPointer
 
read(long, int) - Method in class com.smardec.j2native.Const
do nothing
readFromRAM(long, int) - Method in class com.smardec.j2native.DelegatedArgument
 
readFromRAM(long, int) - Method in class com.smardec.j2native.Argument
Public method to read Argument from the native memmory.
readFromStack(byte[], int) - Method in class com.smardec.j2native.ZeroTerminatedString
 
readFromStack(byte[], int) - Method in class com.smardec.j2native.Structure
 
readFromStack(byte[], int) - Method in class com.smardec.j2native.PointerArgument
 
readFromStack(byte[], int) - Method in class com.smardec.j2native.NumericArgument
 
readFromStack(byte[], int) - Method in class com.smardec.j2native.ArrayArgument
 
readFromStack(byte[], int) - Method in class com.smardec.j2native.DelegatedArgument
 
readFromStack(byte[], int) - Method in class com.smardec.j2native.Callback
 
readFromStack(byte[], int) - Method in class com.smardec.j2native.Argument
Read itself from stack.
readFromStack(byte[], int) - Method in class com.smardec.j2native.Union
 
readFromStack(byte[], int) - Method in class com.smardec.j2native.Pointer.Const
do nothing
readFromStack(byte[], int) - Method in class com.smardec.j2native.TypedPointer
 
readFromStack(byte[], int) - Method in class com.smardec.j2native.Const
do nothing
restoreFromRAM() - Method in class com.smardec.j2native.DelegatedArgument
 
restoreFromRAM() - Method in class com.smardec.j2native.Argument
Restores itself from native memory.

S

setActiveMember(Argument) - Method in class com.smardec.j2native.Union
Defines the member of this union that is currently used.
setActiveMember(Argument, boolean) - Method in class com.smardec.j2native.Union
Defines the member of this union that is currently used.
setActiveMember(int) - Method in class com.smardec.j2native.Union
Selects a new active member of the union by its index in the array passed on the initialization.
setActiveMember(int, boolean) - Method in class com.smardec.j2native.Union
Selects a new active member of the union by its index in the array passed on the initialization.
setAutoResize(boolean) - Method in class com.smardec.j2native.ZeroTerminatedString
 
setAutoResize(boolean) - Method in interface com.smardec.j2native.StringType
Sets an auto resizeable property.
setCallingConvention(byte) - Method in class com.smardec.j2native.Callback
Sets calling convention for callback function.
setCallingConvention(byte) - Method in class com.smardec.j2native.Function
Sets function calling convention.
setElement(int, Argument) - Method in class com.smardec.j2native.ArrayArgument
 
setElement(int, Argument) - Method in interface com.smardec.j2native.ArrayType
Replaces an array item with the specified object.
setElementsCount(int) - Method in class com.smardec.j2native.ArrayArgument
 
setElementsCount(int) - Method in interface com.smardec.j2native.ArrayType
Resizes this array to a given size.
setInternalValue(Argument) - Method in class com.smardec.j2native.DelegatedArgument
Sets internal Argument object to which all invokes are passed.
setLength(int) - Method in class com.smardec.j2native.WideChar
Sets char length
setLibraryLoader(LibraryLoader) - Static method in class com.smardec.j2native.Library
Sets default LibraryLoader.
setMaxSize(int) - Method in class com.smardec.j2native.ZeroTerminatedString
Additional note: as autoResize property prevails to maxSize property, you have to set autoResize to false value before setting maxSize property.
setMaxSize(int) - Method in interface com.smardec.j2native.StringType
Sets the maximum size of the string argument.
setReferencedArgument(Argument) - Method in class com.smardec.j2native.TypedPointer
Sets referenced Argument.
setReturnFlags(byte) - Method in class com.smardec.j2native.Function
In most cases this method will be never used, because return value Argument wrapper fully describes behaviour of the native function.
setReturnFlags(int) - Method in class com.smardec.j2native.Callback
In most cases this method will be never used, because return value Argument wrapper fully describes behaviour of the native function.
setValue(boolean) - Method in class com.smardec.j2native.Bool
Sets a boolean value
setValue(char) - Method in class com.smardec.j2native.Char
Sets a char value.
setValue(double) - Method in interface com.smardec.j2native.FloatType
Sets a floating-point value.
setValue(double) - Method in class com.smardec.j2native.FloatArgument
 
setValue(long) - Method in class com.smardec.j2native.Int
 
setValue(long) - Method in class com.smardec.j2native.UInt
 
setValue(long) - Method in class com.smardec.j2native.IntegerArgument
 
setValue(long) - Method in interface com.smardec.j2native.IntegerType
Sets an integer value
setValue(long) - Method in class com.smardec.j2native.Pointer.Void
 
setValue(long) - Method in class com.smardec.j2native.TypedPointer
 
setValue(long) - Method in interface com.smardec.j2native.PointerType
Sets memory handle
setValue(String) - Method in class com.smardec.j2native.ZeroTerminatedString
 
setValue(String) - Method in interface com.smardec.j2native.StringType
Sets the value for the argument.
shortValue() - Method in class com.smardec.j2native.Int
 
shortValue() - Method in class com.smardec.j2native.UInt
 
shortValue() - Method in interface com.smardec.j2native.NumericType
Returns the value of the specified number as a short.
shortValue() - Method in class com.smardec.j2native.IntegerArgument
 
shortValue() - Method in class com.smardec.j2native.FloatArgument
 
SimpleFloat - class com.smardec.j2native.SimpleFloat.
SimpleFloat represents float value and type.
SimpleFloat() - Constructor for class com.smardec.j2native.SimpleFloat
Constructs a SimpleFloat object with a zero value.
SimpleFloat(float) - Constructor for class com.smardec.j2native.SimpleFloat
Constructs a SimpleFloat object with a specified value.
STDCALL_CALLING_CONVENTION - Static variable in class com.smardec.j2native.Function
STDCALL calling convention
storeToRAM() - Method in class com.smardec.j2native.ZeroTerminatedString
 
storeToRAM() - Method in class com.smardec.j2native.DelegatedArgument
 
storeToRAM() - Method in class com.smardec.j2native.Argument
Stores itself to the native memory.
StringType - interface com.smardec.j2native.StringType.
This is a generic interface for all parameters holding a string value.
strlen(long) - Static method in class com.smardec.j2native.J2NativeContext
Calls corresponding C function.
StructuralArgument - class com.smardec.j2native.StructuralArgument.
StructuralArgument represents abstract structural argument.
StructuralArgument() - Constructor for class com.smardec.j2native.StructuralArgument
 
Structure - class com.smardec.j2native.Structure.
The Structure class represents structures in tems of C language.
Structure() - Constructor for class com.smardec.j2native.Structure
Constructs a new structure.
Structure(Argument[]) - Constructor for class com.smardec.j2native.Structure
Constructs a new structure that consists of a given set of members with default alignment.
Structure(Argument[], int) - Constructor for class com.smardec.j2native.Structure
Constructs a new structure that consists of a given set of members with specified alignment.

T

toArgumentsArray() - Method in class com.smardec.j2native.ArrayArgument
 
toArgumentsArray() - Method in interface com.smardec.j2native.ArrayType
Returns items as Java array.
toBytesValue() - Method in class com.smardec.j2native.Structure
 
toBytesValue() - Method in class com.smardec.j2native.PointerArgument
 
toBytesValue() - Method in class com.smardec.j2native.NumericArgument
 
toBytesValue() - Method in class com.smardec.j2native.ArrayArgument
 
toBytesValue() - Method in class com.smardec.j2native.DelegatedArgument
 
toBytesValue() - Method in class com.smardec.j2native.Callback
 
toBytesValue() - Method in class com.smardec.j2native.WideString
 
toBytesValue() - Method in class com.smardec.j2native.AnsiString
 
toBytesValue() - Method in class com.smardec.j2native.Argument
Encodes itself and returns it's representation as array of bytes.
toBytesValue() - Method in class com.smardec.j2native.Union
 
toBytesValue(byte[], int) - Method in class com.smardec.j2native.Structure
 
toBytesValue(byte[], int) - Method in class com.smardec.j2native.PointerArgument
 
toBytesValue(byte[], int) - Method in class com.smardec.j2native.NumericArgument
 
toBytesValue(byte[], int) - Method in class com.smardec.j2native.ArrayArgument
 
toBytesValue(byte[], int) - Method in class com.smardec.j2native.DelegatedArgument
 
toBytesValue(byte[], int) - Method in class com.smardec.j2native.Callback
 
toBytesValue(byte[], int) - Method in class com.smardec.j2native.WideString
 
toBytesValue(byte[], int) - Method in class com.smardec.j2native.AnsiString
 
toBytesValue(byte[], int) - Method in class com.smardec.j2native.Argument
Encodes itself to the provided array of bytes.
toBytesValue(byte[], int) - Method in class com.smardec.j2native.Union
 
TypedPointer - class com.smardec.j2native.TypedPointer.
Pointer class represents a pointer to object in terms of C language.
TypedPointer(Argument) - Constructor for class com.smardec.j2native.TypedPointer
Constructs a new pointer to a given object.

U

UInt - class com.smardec.j2native.UInt.
UInt represents a platform-dependent unsigned integer value and type, so on 32-bits platform UInt works as UInt32.
UInt() - Constructor for class com.smardec.j2native.UInt
Constructs a UInt object with a zero value.
UInt(long) - Constructor for class com.smardec.j2native.UInt
Constructs a UInt object with a specified value.
UInt16 - class com.smardec.j2native.UInt16.
UInt16 represents a 16-bit unsigned integer value and type.
UInt16() - Constructor for class com.smardec.j2native.UInt16
Constructs a UInt16 object with a zero value.
UInt16(short) - Constructor for class com.smardec.j2native.UInt16
Constructs a UInt16 object with a specified value.
UInt32 - class com.smardec.j2native.UInt32.
UInt32 represents a 32-bit unsigned integer value and type.
UInt32() - Constructor for class com.smardec.j2native.UInt32
Constructs a UInt32 object with a zero value.
UInt32(int) - Constructor for class com.smardec.j2native.UInt32
Constructs a UInt32 object with a zero value.
UInt8 - class com.smardec.j2native.UInt8.
UInt8 represents a 8-bit unsigned integer value and type.
UInt8() - Constructor for class com.smardec.j2native.UInt8
Constructs a UInt8 object with a zero value.
UInt8(byte) - Constructor for class com.smardec.j2native.UInt8
Constructs a UInt8 object with a zero value.
Union - class com.smardec.j2native.Union.
The Union class represents a C union type.
Union() - Constructor for class com.smardec.j2native.Union
Preconstructs a union.
Union(Argument[]) - Constructor for class com.smardec.j2native.Union
Constructs a union with a given set of members.
unload() - Method in class com.smardec.j2native.Library
Unloads library and frees resources used by library.
unloadLibrary(Library) - Method in interface com.smardec.j2native.LibraryLoader
unloads the native library.
update(byte) - Method in class com.smardec.j2native.Structure
 
update(byte) - Method in class com.smardec.j2native.ArrayArgument
 
update(byte) - Method in class com.smardec.j2native.Callback
 
update(byte) - Method in class com.smardec.j2native.Argument
This method is used to synchronize Java side and native part.
update(byte) - Method in class com.smardec.j2native.Union
 
update(byte) - Method in class com.smardec.j2native.Pointer.OutOnly
 
update(byte) - Method in class com.smardec.j2native.TypedPointer
 

V

value2Bits() - Method in class com.smardec.j2native.NumericArgument
Returns the value as bit representation.
value2Bits() - Method in class com.smardec.j2native.SimpleFloat
 
value2Bits() - Method in class com.smardec.j2native.IntegerArgument
 
value2Bits() - Method in class com.smardec.j2native.FloatArgument
 

W

wcslen(long) - Static method in class com.smardec.j2native.J2NativeContext
Calls corresponding C function.
WideChar - class com.smardec.j2native.WideChar.
WideChar class represents an Unicode character (wchar_t).
WideChar() - Constructor for class com.smardec.j2native.WideChar
Constructs a WideChar object with a '\n' value.
WideChar(char) - Constructor for class com.smardec.j2native.WideChar
Constructs a WideChar object with a specified value.
WideChar(char, int) - Constructor for class com.smardec.j2native.WideChar
Constructs a WideChar object with a specified value and length.
WideString - class com.smardec.j2native.WideString.
WideString class is a wrapper for Unicode string (wchar_t *) value and type.
WideString() - Constructor for class com.smardec.j2native.WideString
Constructs an empty string
WideString(String) - Constructor for class com.smardec.j2native.WideString
Constructs a string with specified value
WideString(String, int) - Constructor for class com.smardec.j2native.WideString
Constructs a string with specified value and sets maximum chars quantity
write(long, int) - Method in class com.smardec.j2native.ZeroTerminatedString
 
write(long, int) - Method in class com.smardec.j2native.Structure
 
write(long, int) - Method in class com.smardec.j2native.PointerArgument
 
write(long, int) - Method in class com.smardec.j2native.NumericArgument
 
write(long, int) - Method in class com.smardec.j2native.ArrayArgument
 
write(long, int) - Method in class com.smardec.j2native.DelegatedArgument
 
write(long, int) - Method in class com.smardec.j2native.Callback
 
write(long, int) - Method in class com.smardec.j2native.OutOnly
do nothing
write(long, int) - Method in class com.smardec.j2native.Argument
Writes itself to the memory.
write(long, int) - Method in class com.smardec.j2native.Union
 
write(long, int) - Method in class com.smardec.j2native.Pointer.OutOnly
do nothing
write(long, int) - Method in class com.smardec.j2native.TypedPointer
 
writeToRAM(long, int) - Method in class com.smardec.j2native.DelegatedArgument
 
writeToRAM(long, int) - Method in class com.smardec.j2native.Argument
Public method to write Argument to the native memmory.
writeToStack(byte[], int) - Method in class com.smardec.j2native.ZeroTerminatedString
 
writeToStack(byte[], int) - Method in class com.smardec.j2native.Structure
 
writeToStack(byte[], int) - Method in class com.smardec.j2native.PointerArgument
 
writeToStack(byte[], int) - Method in class com.smardec.j2native.NumericArgument
 
writeToStack(byte[], int) - Method in class com.smardec.j2native.ArrayArgument
 
writeToStack(byte[], int) - Method in class com.smardec.j2native.DelegatedArgument
 
writeToStack(byte[], int) - Method in class com.smardec.j2native.Callback
 
writeToStack(byte[], int) - Method in class com.smardec.j2native.OutOnly
do nothing
writeToStack(byte[], int) - Method in class com.smardec.j2native.Argument
Writes itself to stack.
writeToStack(byte[], int) - Method in class com.smardec.j2native.Union
 
writeToStack(byte[], int) - Method in class com.smardec.j2native.Pointer.OutOnly
do nothing
writeToStack(byte[], int) - Method in class com.smardec.j2native.TypedPointer
 

Z

ZeroTerminatedString - class com.smardec.j2native.ZeroTerminatedString.
ZeroTerminatedString class is a base class for all types of zero-terminated strings.
ZeroTerminatedString(String) - Constructor for class com.smardec.j2native.ZeroTerminatedString
Constructs a string with specified value
ZeroTerminatedString(String, int) - Constructor for class com.smardec.j2native.ZeroTerminatedString
Constructs a string with specified value and sets maximum chars quantity

A B C D E F G I J L M N O P R S T U V W Z

Copyright © 2004-2005 Smardec. All Rights Reserved.