All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.commons.configuration.attributes.AttributeParser Maven / Gradle / Ivy

There is a newer version: 15.1.0.Dev04
Show newest version
package org.infinispan.commons.configuration.attributes;

import org.infinispan.commons.util.Util;

/**
 * AttributeParser.
 *
 * @since 15.0
 */
public interface AttributeParser {
   AttributeParser DEFAULT = (klass, value) -> Util.fromString(klass, value);

   T parse(Class klass, String value);
}