Package org.openhab.binding.maxcube.internal

Examples of org.openhab.binding.maxcube.internal.MaxTokenizer


    List<Device> devices = new ArrayList<Device>();

    byte[] decodedRawMessage = Base64.decodeBase64(getPayload().getBytes());

    MaxTokenizer tokenizer = new MaxTokenizer(decodedRawMessage);

    while (tokenizer.hasMoreElements()) {
      byte[] token = tokenizer.nextElement();
      Device tempDevice = Device.create(token, configurations);
      if (tempDevice != null) {
        devices.add(tempDevice);
      }
    }
View Full Code Here

TOP

Related Classes of org.openhab.binding.maxcube.internal.MaxTokenizer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.