public class DataHandlerExtImpl extends javax.activation.DataHandler implements DataHandlerExt, 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(Observable o,
Object arg) |
getAllCommands, getBean, getCommand, getContent, getContentType, getDataSource, getInputStream, getName, getOutputStream, getPreferredCommands, getTransferData, getTransferDataFlavors, isDataFlavorSupported, setCommandMap, setDataContentHandlerFactory, writeTo
public DataHandlerExtImpl(javax.activation.DataHandler dataHandler, LifecycleManager manager)
public void deleteWhenReadOnce() throws IOException
DataHandlerExt
deleteWhenReadOnce
in interface DataHandlerExt
IOException
public void purgeDataSource() throws IOException
DataHandlerExt
purgeDataSource
in interface DataHandlerExt
IOException
public void update(Observable o, Object arg)
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.