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 TypeMethodDescriptionvoidThis function deletes the configuration XML file from the reader's profile list.voidexportToReader(String profileName, String profilePath, boolean activation) This function updates the reader configuration XML file.getList()Gets the list of profiles available in the reader.voidimportFromReader(String profileName, String profilePath) This function downloads the readerHandle configuration XML file.voidThis 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:
InvalidUsageExceptionOperationFailureException
-
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:
InvalidUsageExceptionOperationFailureException
-
getList
Gets the list of profiles available in the reader.- Returns:
- List of profile-names present in reader.
- Throws:
InvalidUsageExceptionOperationFailureException
-
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:
InvalidUsageExceptionOperationFailureException
-
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:
InvalidUsageExceptionOperationFailureException
-