Package org.apache.james.mime4j.dom
Interface Disposable
- All Known Implementing Classes:
AbstractEntity
,AbstractMessage
,AbstractMultipart
,BasicBodyFactory.BinaryBody1
,BasicBodyFactory.BinaryBody2
,BasicBodyFactory.BinaryBody3
,BasicBodyFactory.StringBody1
,BasicBodyFactory.StringBody2
,BasicBodyFactory.StringBody3
,BinaryBody
,BodyPart
,MessageImpl
,MultipartImpl
,SingleBody
,StorageBinaryBody
,StorageTextBody
,StringTextBody
,TextBody
public interface Disposable
A Disposable is an object that should be disposed of explicitly
when it is no longer needed.
The dispose method is invoked to release resources that the object is
holding (such as open files).
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Free any resources this object is holding and prepares this object for garbage collection.
-
Method Details
-
dispose
void dispose()Free any resources this object is holding and prepares this object for garbage collection. Once an object has been disposed of it can no longer be used.
-