public class Profile
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
delete(java.lang.String profileName)
This function deletes the configuration XML file from the reader's profile list.
|
void |
exportToReader(java.lang.String profileName,
java.lang.String profilePath,
boolean activation)
This function updates the reader configuration XML file.
|
ProfileInfo |
getList()
Gets the list of profiles available in the reader.
|
void |
importFromReader(java.lang.String profileName,
java.lang.String profilePath)
This function downloads the readerHandle configuration XML file.
|
void |
setActive(java.lang.String profileName)
This function set the active configuration XML file to be used by the reader.
|
public void exportToReader(java.lang.String profileName,
java.lang.String profilePath,
boolean activation)
throws InvalidUsageException,
OperationFailureException
profileName - Profile to be uploaded, e.g. "Config.xml".profilePath - Local Path Of the Profile.activation - Determines whether the profile is to be activited or not.
If activation is set TRUE, the profile will be uploaded and activated.
If activation is set FALSE, the profile will be uploaded but not activated.This value is ignored in XR.InvalidUsageExceptionOperationFailureExceptionpublic void importFromReader(java.lang.String profileName,
java.lang.String profilePath)
throws InvalidUsageException,
OperationFailureException
profileName - Profile Name to be downloaded, e.g. "Config.xml".profilePath - Local Path of the Profile to be saved.InvalidUsageExceptionOperationFailureExceptionpublic ProfileInfo getList() throws InvalidUsageException, OperationFailureException
InvalidUsageExceptionOperationFailureExceptionpublic void setActive(java.lang.String profileName)
throws InvalidUsageException,
OperationFailureException
profileName - Profile Name to be used, e.g. "Config.xml".InvalidUsageExceptionOperationFailureExceptionpublic void delete(java.lang.String profileName)
throws InvalidUsageException,
OperationFailureException
profileName - Profile Name to be deleted, e.g. "Config.xml".InvalidUsageExceptionOperationFailureException