org.apache.james.mime4j.samples.tree
Class MessageTree.ObjectWrapper

java.lang.Object
  extended by org.apache.james.mime4j.samples.tree.MessageTree.ObjectWrapper
Enclosing class:
MessageTree

public static class MessageTree.ObjectWrapper
extends Object

Wraps an Object and associates it with a text. All message parts (headers, bodies, multiparts, body parts) will be wrapped in ObjectWrapper instances before they are added to the JTree instance.


Constructor Summary
MessageTree.ObjectWrapper(String text, Object object)
           
 
Method Summary
 Object getObject()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageTree.ObjectWrapper

public MessageTree.ObjectWrapper(String text,
                                 Object object)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getObject

public Object getObject()


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