Java EE 5 SDK

com.sun.appserv.management.client
Class MapConverter

java.lang.Object
  extended by com.sun.appserv.management.client.MapConverter

public final class MapConverter
extends Object

Converts Maps obtained from the server back into their proprietary (non-standard) java types.


Method Summary
static Object convert(Map<String,Serializable> m)
          This form should be used where the appropriate class is not known in advance.
static
<T> T
convertToClass(Map<String,Serializable> m, Class<T> theClass)
          This form should be used where the appropriate class is known in advance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

convert

public static Object convert(Map<String,Serializable> m)
This form should be used where the appropriate class is not known in advance.


convertToClass

public static <T> T convertToClass(Map<String,Serializable> m,
                                   Class<T> theClass)
This form should be used where the appropriate class is known in advance.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.