org.apache.james.mime4j.message
Interface Disposable

All Known Subinterfaces:
Body
All Known Implementing Classes:
BinaryBody, BodyPart, Entity, Message, Multipart, SingleBody, 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
 void dispose()
          Free any resources this object is holding and prepares this object for garbage collection.
 

Method Detail

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.



Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.