|
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; |
| }
|

