TML Messaging Suite  1.1.5
for Java
 All Classes Namespaces Functions Variables Groups Pages
Public Member Functions | List of all members
com.tmlsidex.jni.Sidex Class Reference

Public Member Functions

String sidex_Get_Copyright (int[] iLength)
 get copyright information More...
 
String sidex_Get_Version (int[] iApiVer, int[] iLibVer)
 get interface api and library version More...
 
void sidex_Set_Password (String pUserName, String pPassWord) throws TmlSidexException
 set the license key More...
 
void sidex_Clear (long sHandle)
 remove all values from the sidex document More...
 
long sidex_Create (String sDoc) throws TmlSidexException
 create a SIDEX document handle More...
 
void sidex_Free (long sHandle)
 release a SIDEX document handle More...
 
String sidex_Get_Content (long sHandle) throws TmlSidexException
 get the SIDEX document data as string More...
 
int sidex_Get_Content_Length (long sHandle) throws TmlSidexException
 get length of the document content More...
 
String sidex_Get_DocumentName (long sHandle) throws TmlSidexException
 get the document name More...
 
void sidex_Load_Content (long sHandle, String sPath) throws TmlSidexException
 read a SIDEX document from a file More...
 
void sidex_Merge (long sBaseHandle, long sMergeHandle, boolean bOverwrite, String sGroup, String sKey) throws TmlSidexException
 merge SIDEX document data More...
 
void sidex_Save_Content (long sHandle, String sPath) throws TmlSidexException
 Write a SIDEX document to a file. More...
 
void sidex_Set_Content (long sHandle, String sContent) throws TmlSidexException
 read a SIDEX document from a string More...
 
void sidex_Set_DocumentName (long sHandle, String sName) throws TmlSidexException
 change the document name More...
 
void sidex_DeleteGroup (long sHandle, String sGroup) throws TmlSidexException
 delete a group from the document More...
 
void sidex_DeleteKey (long sHandle, String sGroup, String sKey) throws TmlSidexException
 delete a key, value pair from the document More...
 
long sidex_GetGroups (long sHandle) throws TmlSidexException
 get a list of group names More...
 
long sidex_GetKeys (long sHandle, String sGroup) throws TmlSidexException
 get a list of key names in a group More...
 
boolean sidex_HasGroup (long sHandle, String sGroup)
 check if a group exists More...
 
boolean sidex_HasKey (long sHandle, String sGroup, String sKey)
 check if a key exists in a group More...
 
int sidex_Binary_Length (long sHandle, String sGroup, String sKey) throws TmlSidexException
 get the number of bytes of a binary value in a SIDEX document More...
 
byte[] sidex_Binary_Read (long sHandle, String sGroup, String sKey, int[] iLength) throws TmlSidexException
 get a binary value from a SIDEX document More...
 
void sidex_Binary_Write (long sHandle, String sGroup, String sKey, byte[] value, int iSize) throws TmlSidexException
 write a binary value to a SIDEX document More...
 
boolean sidex_Boolean_Read (long sHandle, String sGroup, String sKey) throws TmlSidexException
 get a boolean value from a SIDEX document More...
 
void sidex_Boolean_Write (long sHandle, String sGroup, String sKey, boolean value) throws TmlSidexException
 write a boolean value to a SIDEX document More...
 
long sidex_DateTime_Read (long sHandle, String sGroup, String sKey) throws TmlSidexException
 get a datetime value from a SIDEX document More...
 
void sidex_DateTime_Write (long sHandle, String sGroup, String sKey, long value) throws TmlSidexException
 write a dateTime value to a SIDEX document More...
 
long sidex_Dict_Read (long sHandle, String sGroup, String sKey) throws TmlSidexException
 get a dictionary value from a SIDEX document More...
 
void sidex_Dict_Write (long sHandle, String sGroup, String sKey, long value) throws TmlSidexException
 write a dictionary value to a SIDEX document More...
 
double sidex_Float_Read (long sHandle, String sGroup, String sKey) throws TmlSidexException
 get a float value from a SIDEX document More...
 
void sidex_Float_Write (long sHandle, String sGroup, String sKey, double value) throws TmlSidexException
 write a float value to a SIDEX document More...
 
long sidex_Integer_Read (long sHandle, String sGroup, String sKey) throws TmlSidexException
 get an integer value from a SIDEX document More...
 
void sidex_Integer_Write (long sHandle, String sGroup, String sKey, long value) throws TmlSidexException
 write an integer value to a SIDEX document More...
 
long sidex_List_Read (long sHandle, String sGroup, String sKey) throws TmlSidexException
 get a list value from a SIDEX document More...
 
void sidex_List_Write (long sHandle, String sGroup, String sKey, long value) throws TmlSidexException
 write a list value to a SIDEX document More...
 
void sidex_None_Write (long sHandle, String sGroup, String sKey) throws TmlSidexException
 write a none value (empty value) to a SIDEX document More...
 
int sidex_String_Length (long sHandle, String sGroup, String sKey) throws TmlSidexException
 wet the length of a string value in a SIDEX document More...
 
String sidex_String_Read (long sHandle, String sGroup, String sKey) throws TmlSidexException
 get a string value from a SIDEX document More...
 
void sidex_String_Write (long sHandle, String sGroup, String sKey, String sValue) throws TmlSidexException
 write a string value to a SIDEX document More...
 
long sidex_Table_Read (long sHandle, String sGroup, String sKey) throws TmlSidexException
 get a table from a SIDEX document More...
 
void sidex_Table_Write (long sHandle, String sGroup, String sKey, long value) throws TmlSidexException
 write a table to a SIDEX document More...
 
long sidex_Variant_Read (long sHandle, String sGroup, String sKey) throws TmlSidexException
 get a boolean value from a SIDEX document More...
 
void sidex_Variant_Write (long sHandle, String sGroup, String sKey, long sVariant) throws TmlSidexException
 write a variant to a SIDEX document More...
 
long sidex_Variant_Copy (long variant)
 get a copy of a variant handle More...
 
void sidex_Variant_DecRef (long variant) throws TmlSidexException
 decrement the reference counter of a SIDEX_VARIANT. More...
 
int sidex_Variant_GetType (long variant)
 get variant type More...
 
void sidex_Variant_IncRef (long variant)
 increment the reference counter of a variant. More...
 
long sidex_Variant_As_Integer (long variant) throws TmlSidexException
 get the value from an integer variant More...
 
boolean sidex_Variant_Integer_Check (long variant)
 check if variant type is integer More...
 
long sidex_Variant_New_Integer (long value)
 create an integer variant More...
 
boolean sidex_Variant_None_Check (long variant)
 check if variant type is none More...
 
long sidex_Variant_New_None ()
 create a variant of type none. More...
 
boolean sidex_Variant_As_Boolean (long variant) throws TmlSidexException
 get the value from an boolean variant. More...
 
boolean sidex_Variant_Boolean_Check (long variant)
 check if variant type is boolean More...
 
long sidex_Variant_New_Boolean (boolean value)
 create a variant of type boolean More...
 
double sidex_Variant_As_Float (long variant) throws TmlSidexException
 get the value from an float variant. More...
 
boolean sidex_Variant_Float_Check (long variant)
 check if variant type is float. More...
 
long sidex_Variant_New_Float (double value)
 create a variant of type float. More...
 
String sidex_Variant_As_String (long variant) throws TmlSidexException
 get value and length from a string variant More...
 
int sidex_Variant_As_String_Length (long variant) throws TmlSidexException
 get the length from a string variant More...
 
boolean sidex_Variant_String_Check (long variant)
 check if variant type is string More...
 
String sidex_Variant_String_GetFormat (long variant) throws TmlSidexException
 get a string format attribute More...
 
void sidex_Variant_String_SetFormat (long variant, String format) throws TmlSidexException
 set a string format attribute More...
 
long sidex_Variant_New_String (String strValue) throws TmlSidexException
 create a variant of type string More...
 
byte[] sidex_Variant_As_Binary (long variant, int[] iLength) throws TmlSidexException
 get value and length from a binary variant More...
 
int sidex_Variant_As_Binary_Length (long variant) throws TmlSidexException
 get the length from a binary variant More...
 
boolean sidex_Variant_Binary_Check (long variant)
 check if variant type is binary. More...
 
long sidex_Variant_New_Binary (byte[] binValue, int length) throws TmlSidexException
 create a variant of type binary. More...
 
String sidex_Variant_As_DateTime (long variant) throws TmlSidexException
 get the value from a datetime variant as string More...
 
boolean sidex_Variant_DateTime_Check (long variant)
 check if variant type is datetime. More...
 
long sidex_Variant_New_DateTime (String value) throws TmlSidexException
 create a variant of type datetime More...
 
int sidex_Variant_List_Append (long list, long value) throws TmlSidexException
 append a value to a list More...
 
boolean sidex_Variant_List_Check (long variant)
 check if variant type is list More...
 
void sidex_Variant_List_Clear (long list) throws TmlSidexException
 remove all values from a list More...
 
void sidex_Variant_List_DeleteItem (long list, int pos) throws TmlSidexException
 remove a value from a list More...
 
long sidex_Variant_List_Get (long list, int pos) throws TmlSidexException
 get a value from a list More...
 
void sidex_Variant_List_Insert (long list, long value, int pos) throws TmlSidexException
 insert a value into a list More...
 
void sidex_Variant_List_Set (long list, long value, int pos) throws TmlSidexException
 replace a value in a list More...
 
int sidex_Variant_List_Size (long list) throws TmlSidexException
 get the number of items in a List More...
 
long sidex_Variant_New_List ()
 create a variant of type list More...
 
boolean sidex_Variant_Dict_Check (long variant)
 check if variant type is dictionary More...
 
void sidex_Variant_Dict_Clear (long dict) throws TmlSidexException
 remove all entries of from a dictionary More...
 
void sidex_Variant_Dict_Delete (long dict, String sKey) throws TmlSidexException
 delete a key/value pair from a dictionary More...
 
void sidex_Variant_Dict_First (long dict) throws TmlSidexException
 set the cursor to the first element of a dictionary More...
 
long sidex_Variant_Dict_Get (long dict, String sKey) throws TmlSidexException
 get a value from a dictionary More...
 
boolean sidex_Variant_Dict_HasKey (long dict, String sKey) throws TmlSidexException
 check if a key exists in a dictionary More...
 
long sidex_Variant_Dict_Keys (long dict) throws TmlSidexException
 get all keys of a dictionary More...
 
long sidex_Variant_Dict_Next (long dict, StringBuffer sKey) throws TmlSidexException
 get the value from a dictionary at the current cursor position and move the cursor to the next value More...
 
void sidex_Variant_Dict_Set (long dict, String sKey, long value) throws TmlSidexException
 add a key/value pair to a dictionary More...
 
int sidex_Variant_Dict_Size (long dict) throws TmlSidexException
 get the number of entries in a dictionary More...
 
long sidex_Variant_New_DictBySize (int size)
 create a variant of type dictionary with a predefined size More...
 
long sidex_Variant_New_Dict ()
 create a variant of type dict More...
 
long sidex_Variant_New_Table ()
 create a variant of type table More...
 
void sidex_Variant_Table_AddColumn (long table, String sColumn) throws TmlSidexException
 add a column to a table More...
 
int sidex_Variant_Table_AddRow (long table) throws TmlSidexException
 add a row to a table More...
 
boolean sidex_Variant_Table_Check (long variant)
 check if variant type is table. More...
 
long sidex_Variant_Table_ColumnNames (long table) throws TmlSidexException
 get column names of a table More...
 
int sidex_Variant_Table_Columns (long table) throws TmlSidexException
 get the number of columns of a table More...
 
void sidex_Variant_Table_DeleteColumn (long table, String sColumn) throws TmlSidexException
 remove a column from a table More...
 
void sidex_Variant_Table_DeleteRow (long table, int iRowIdx) throws TmlSidexException
 delete a row from a table More...
 
void sidex_Variant_Table_DeleteRows (long table) throws TmlSidexException
 delete all rows from a table More...
 
String sidex_Variant_Table_GetColumnName (long table, int index) throws TmlSidexException
 get the name of a table column More...
 
long sidex_Variant_Table_GetField (long table, int rowIndex, String sColumnName) throws TmlSidexException
 get a value from a table More...
 
long sidex_Variant_Table_GetRow (long table, int rowIndex) throws TmlSidexException
 get a row from a table More...
 
boolean sidex_Variant_Table_HasColumn (long table, String sColumnName) throws TmlSidexException
 check if a column name exists More...
 
int sidex_Variant_Table_Rows (long table) throws TmlSidexException
 get the number of rows of a table More...
 
void sidex_Variant_Table_SetField (long table, int rowIndex, String sColumnName, long variant) throws TmlSidexException
 replace a value in a table More...
 

Detailed Description

Native SIDEX API functions.