Class ChartDeleter
java.lang.Object
org.jfree.chart.servlet.ChartDeleter
- All Implemented Interfaces:
Serializable,EventListener,javax.servlet.http.HttpSessionBindingListener
public class ChartDeleter
extends Object
implements javax.servlet.http.HttpSessionBindingListener, Serializable
Deprecated.
To be removed in JFreeChart 2.0
Used for deleting charts from the temporary directory when the users session
expires.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Add a chart to be deleted when the session expiresbooleanisChartAvailable(String filename) Deprecated.Checks to see if a chart is in the list of charts to be deletedvoidvalueBound(javax.servlet.http.HttpSessionBindingEvent event) Deprecated.Binding this object to the session has no additional effects.voidvalueUnbound(javax.servlet.http.HttpSessionBindingEvent event) Deprecated.When this object is unbound from the session (including upon session expiry) the files that have been added to the ArrayList are iterated and deleted.
-
Constructor Details
-
ChartDeleter
-
-
Method Details
-
addChart
-
isChartAvailable
Deprecated.Checks to see if a chart is in the list of charts to be deleted- Parameters:
filename- the name of the chart in the temporary directory.- Returns:
- A boolean value indicating whether the chart is present in the list.
-
valueBound
Deprecated.Binding this object to the session has no additional effects.- Specified by:
valueBoundin interfacejavax.servlet.http.HttpSessionBindingListener- Parameters:
event- the session bind event.
-
valueUnbound
Deprecated.When this object is unbound from the session (including upon session expiry) the files that have been added to the ArrayList are iterated and deleted.- Specified by:
valueUnboundin interfacejavax.servlet.http.HttpSessionBindingListener- Parameters:
event- the session unbind event.
-