|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedDataSource
Managed data source.
This type of data source keeps track of the streams that have been
requested using DataSource.getInputStream()
and allows to
forcibly close these streams. Any existing data source can be converted
to a managed data source using ManagedDataSourceFactory.create(DataSource)
.
Method Summary | |
---|---|
void |
destroy()
Close all streams that have been requested from this data source and that are not yet closed. |
Methods inherited from interface javax.activation.DataSource |
---|
getContentType, getInputStream, getName, getOutputStream |
Method Detail |
---|
void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |