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

edu.isi.nlp.converters.StringConverter Maven / Gradle / Ivy

The newest version!
package edu.isi.nlp.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 - 2025 Weber Informatics LLC | Privacy Policy