Class MacAddress
java.lang.Object
org.bgerp.plugin.inventoru.util.MacAddress
Normalizes a MAC address for storage, so the same unit's MAC reads the same way no matter which
screen wrote it: the device card (
DeviceAction), the equipment import
(DeviceImportService) and the scan receipt (ScanReceiptService) all write
inventoru_device.mac_address, and a mix of AA:BB:CC:DD:EE:FF /
aabbccddeeff / AA-BB-CC-DD-EE-FF in the same column makes the exact-match
mac_address filter of the equipment queue (see QueueFilter) miss rows a person
typing the same address differently would expect to find.
Only separators are stripped and the letters upper-cased — not a full MAC validity check:
garbage typed into the field stays garbage, visibly, rather than being silently swallowed by a
stricter filter.-
Method Summary
-
Method Details
-
normalize
-