You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ha...@apache.org on 2003/04/17 22:22:57 UTC
cvs commit: cocoon-2.1/src/blocks/mail/mocks/javax/activation DataHandler.java DataSource.java
haul 2003/04/17 13:22:57
Added: src/blocks/mail/mocks/javax/activation DataHandler.java
DataSource.java
Log:
improved sendmail action and logicsheet
includes attachments and more
thanks to Frank Ridderbusch <frank.ridderbusch AT fujitsu-siemens.com>
Revision Changes Path
1.1 cocoon-2.1/src/blocks/mail/mocks/javax/activation/DataHandler.java
Index: DataHandler.java
===================================================================
package javax.activation;
/**
* Mock class providing the declarations required to compile the Cocoon code when
* the actual library is not present.
*
* @version CVS $Id: DataHandler.java,v 1.1 2003/04/17 20:22:57 haul Exp $
*/
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.Transferable;
import java.awt.datatransfer.UnsupportedFlavorException;
import java.io.IOException;
import javax.activation.DataSource;
public class DataHandler implements Transferable {
public DataHandler(DataSource ds) {
}
public DataHandler(java.lang.Object obj, java.lang.String mimeType) {
}
public DataFlavor[] getTransferDataFlavors() {
return null;
}
public DataHandler(java.net.URL url) {
}
public boolean isDataFlavorSupported(DataFlavor flavor) {
return false;
}
public Object getTransferData(DataFlavor flavor)
throws UnsupportedFlavorException, IOException {
return null;
}
}
1.1 cocoon-2.1/src/blocks/mail/mocks/javax/activation/DataSource.java
Index: DataSource.java
===================================================================
package javax.activation;
/**
* Mock class providing the declarations required to compile the Cocoon code when
* the actual library is not present.
*
* @version CVS $Id: DataSource.java,v 1.1 2003/04/17 20:22:57 haul Exp $
*/
public interface DataSource {
public java.lang.String getName();
}