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

ro.isdc.wro.util.Transformer Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package ro.isdc.wro.util;

/**
 * Transform some an object of some type to another object of the same type.
 *
 * @param  type of the object to transform.
 */
public interface Transformer {
  /**
   * Apply a transformation on the input object.
   * 
   * @param input
   *          the object to transform.
   * @return the transformed object.
   * @throws Exception
   *           if an exception occured during transformation.
   */
  T transform(T input) throws Exception;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy