Package com.zebra.rfid.api3
Class Profile
java.lang.Object
com.zebra.rfid.api3.Profile
This class contains methods for uploading or downloading the configuration file
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This function deletes the configuration XML file from the reader's profile list.void
exportToReader
(String profileName, String profilePath, boolean activation) This function updates the reader configuration XML file.getList()
Gets the list of profiles available in the reader.void
importFromReader
(String profileName, String profilePath) This function downloads the readerHandle configuration XML file.void
This function set the active configuration XML file to be used by the reader.
-
Method Details
-
exportToReader
public void exportToReader(String profileName, String profilePath, boolean activation) throws InvalidUsageException, OperationFailureException This function updates the reader configuration XML file.- Parameters:
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.- Throws:
InvalidUsageException
OperationFailureException
-
importFromReader
public void importFromReader(String profileName, String profilePath) throws InvalidUsageException, OperationFailureException This function downloads the readerHandle configuration XML file.- Parameters:
profileName
- Profile Name to be downloaded, e.g. "Config.xml".profilePath
- Local Path of the Profile to be saved.- Throws:
InvalidUsageException
OperationFailureException
-
getList
Gets the list of profiles available in the reader.- Returns:
- List of profile-names present in reader.
- Throws:
InvalidUsageException
OperationFailureException
-
setActive
This function set the active configuration XML file to be used by the reader.- Parameters:
profileName
- Profile Name to be used, e.g. "Config.xml".- Throws:
InvalidUsageException
OperationFailureException
-
delete
This function deletes the configuration XML file from the reader's profile list.- Parameters:
profileName
- Profile Name to be deleted, e.g. "Config.xml".- Throws:
InvalidUsageException
OperationFailureException
-