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

com.bbn.bue.common.converters.StringConverter Maven / Gradle / Ivy

The newest version!
package com.bbn.bue.common.converters;

import com.google.common.annotations.Beta;


/**
 * Can decode instances of a given type from a string.
 */
@Beta
public interface StringConverter extends Converter {

  /**
   * @param argumentValue a string value to decode. May not be null.
   * @return the decoded value. Should not be null.
   * @throws ConversionException     if the value cannot be decoded
   * @throws IllegalArgmentException if the value is null
   */
  @Override
  public T decode(String argumentValue);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy