public class DataHandlerExtImpl extends javax.activation.DataHandler implements DataHandlerExt, java.util.Observer
| Constructor and Description |
|---|
DataHandlerExtImpl(javax.activation.DataHandler dataHandler,
LifecycleManager manager) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteWhenReadOnce()
This method will give users an option to trigger a delete on
temporary attachment file when DataHandler associated with the
attachment is read once.
|
void |
purgeDataSource()
This method will give users an option to trigger a purge
on temporary attachment files.
|
void |
update(java.util.Observable o,
java.lang.Object arg) |
getAllCommands, getBean, getCommand, getContent, getContentType, getDataSource, getInputStream, getName, getOutputStream, getPreferredCommands, getTransferData, getTransferDataFlavors, isDataFlavorSupported, setCommandMap, setDataContentHandlerFactory, writeTopublic DataHandlerExtImpl(javax.activation.DataHandler dataHandler,
LifecycleManager manager)
public void deleteWhenReadOnce()
throws java.io.IOException
DataHandlerExtdeleteWhenReadOnce in interface DataHandlerExtjava.io.IOExceptionpublic void purgeDataSource()
throws java.io.IOException
DataHandlerExtpurgeDataSource in interface DataHandlerExtjava.io.IOExceptionpublic void update(java.util.Observable o,
java.lang.Object arg)
update in interface java.util.ObserverCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.