public class DataHandlerExtImpl extends DataHandler implements DataHandlerExt, Observer
| Constructor and Description |
|---|
DataHandlerExtImpl(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(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–2016 The Apache Software Foundation. All rights reserved.