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, writeTopublic DataHandlerExtImpl(javax.activation.DataHandler dataHandler,
LifecycleManager manager)
public void deleteWhenReadOnce()
throws IOException
DataHandlerExtdeleteWhenReadOnce in interface DataHandlerExtIOExceptionpublic void purgeDataSource()
throws IOException
DataHandlerExtpurgeDataSource in interface DataHandlerExtIOExceptionpublic void update(Observable o, Object arg)
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.