public class Tool4KeySetImportExport
extends java.lang.Object
Tool4KeySetImportExport
class imports or exports a given keyset or all to xml.Modifier and Type | Field and Description |
---|---|
int |
errCode
internal error code of class.
|
java.lang.String |
errMess
internal error message of class.
|
java.lang.String |
errMessLog
message for error logging.
|
boolean |
success
tue if ok.
|
Constructor and Description |
---|
Tool4KeySetImportExport()
The constructor
Tool4KeySetImportExport creates a new instance(object) of the class. |
Tool4KeySetImportExport(java.lang.String full_path)
The constructor
Tool4KeySetImportExport creates a new instance(object) of the class. |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList |
exportAllKeySets()
The method
exportAllKeySets exports all key sets to xml. |
java.lang.String |
exportKeySet(java.lang.String keysetuniqueid)
The method
exportKeySet exports a given key set to xml. |
java.util.ArrayList |
importAllKeySetFiles(java.lang.String idclient)
The method
importAllKeySetFiles( imports all key set files, which can be found. |
void |
importAllKeySets()
The method
importAllKeySets imports all keysets to database. |
void |
importKeySet(java.lang.String keysetuniqueid,
java.lang.String name)
The method
importKeySet imports a given key set to database. |
public int errCode
public java.lang.String errMess
public java.lang.String errMessLog
public boolean success
public Tool4KeySetImportExport() throws java.lang.Exception
Tool4KeySetImportExport
creates a new instance(object) of the class.java.lang.Exception
- if errorpublic Tool4KeySetImportExport(java.lang.String full_path) throws java.lang.Exception
Tool4KeySetImportExport
creates a new instance(object) of the class.full_path
- the full path to the save folder.java.lang.Exception
- if errorpublic java.util.ArrayList exportAllKeySets() throws java.lang.Exception
exportAllKeySets
exports all key sets to xml.java.lang.Exception
- if errorpublic java.lang.String exportKeySet(java.lang.String keysetuniqueid) throws java.lang.Exception
exportKeySet
exports a given key set to xml.keysetuniqueid
- uniqueid of keyset.java.lang.Exception
- if errorpublic java.util.ArrayList importAllKeySetFiles(java.lang.String idclient) throws java.lang.Exception
importAllKeySetFiles(
imports all key set files, which can be found.idclient
- uniqueid of the current client.java.lang.Exception
- if errorpublic void importAllKeySets() throws java.lang.Exception
importAllKeySets
imports all keysets to database.java.lang.Exception
- if errorpublic void importKeySet(java.lang.String keysetuniqueid, java.lang.String name) throws java.lang.Exception
importKeySet
imports a given key set to database.keysetuniqueid
- uniqueid of keyset.name
- name of keyset.java.lang.Exception
- if error