blob: 080e8c67d61485fe0c6b7a9b403febf4e7d0210f [file] [log] [blame]
/*
* Copyright (c) 2020 Kentyou.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Kentyou - initial API and implementation
*/
package org.eclipse.sensinact.gateway.sthbnd.mqtt.smarttopic.processor.formats;
import org.eclipse.sensinact.gateway.sthbnd.mqtt.smarttopic.processor.formats.exception.ProcessorFormatException;
import org.eclipse.sensinact.gateway.sthbnd.mqtt.smarttopic.processor.formats.iface.ProcessorFormatIface;
import org.eclipse.sensinact.gateway.sthbnd.mqtt.smarttopic.processor.selector.SelectorIface;
/**
* Stateless class that is capable of interprete a given format.
*
* @author <a href="mailto:Jander.BOTELHODONASCIMENTO@cea.fr">Jander Botelho do Nascimento</a>
*/
public class ProcessorFormatToString implements ProcessorFormatIface {
@Override
public String getName() {
return "toString";
}
@Override
public String process(String inData, SelectorIface selector) throws ProcessorFormatException {
return inData;
}
}