2006/unicorn/src/org/w3c/unicorn/output MailOutputModule.java,NONE,1.1

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/output
In directory hutz:/tmp/cvs-serv20762/src/org/w3c/unicorn/output

Added Files:
	MailOutputModule.java 
Log Message:
new OuputModule that sends observations by mail

--- NEW FILE: MailOutputModule.java ---
// $Id: MailOutputModule.java,v 1.1 2009/09/22 12:39:29 tgambet Exp $
// Author: Damien LEROY.
// (c) COPYRIGHT MIT, ERCIM ant Keio, 2006.
// Please first read the full copyright statement in file COPYRIGHT.html
package org.w3c.unicorn.output;

import java.io.Writer;
import java.util.Map;

/**
 * This module allow to generate output in mail format.
 * 
 * @author Thomas GAMBET
 */
public class MailOutputModule implements OutputModule {

	public void produceFirstOutput(OutputFormater aOutputFormater,
			Map<String, Object> mapOfStringObject,
			Map<String, String> mapOfParameter, Writer aWriter) {
		
		
		aOutputFormater.produceOutput(mapOfStringObject, aWriter);
		
	}
	
	public void produceOutput(final OutputFormater aOutputFormater, Map<String, Object> mapOfStringObject,
			final Map<String, String> mapOfParameter, final Writer aWriter) {
		
		
		
		aOutputFormater.produceOutput(mapOfStringObject, aWriter);
	}

	public void produceError(final OutputFormater aOutputFormater, Map<String, Object> mapOfStringObject,
			final Map<String, String> mapOfParameter, final Writer aWriter) {
		
		
		
		aOutputFormater.produceError(mapOfStringObject, aWriter);
	}



}

Received on Tuesday, 22 September 2009 12:39:41 UTC