Tuesday, October 1, 2013

A Document Transformer Interface -) Exoplanet Forecast: Cloudy, With Chance of Maelstrom -> Cloudy with chance "to get worst"

package org.nanotek.lucene;

import org.nanotek.lucene.document.TransformerException;

/**
 * Interface that defines a basic contract transformation from
 * source and target formats.
 * @author JoseCanovaMauger
 *  normalize after.
 * @param <S> the source object format.
 *
 * @param <T> the target object format.
 */
public interface DocumentTransformer <S,T> {

        public T transform (S source) throws TransformerException;

}