org.sonatype.gshell.util.converter.collections
Class WeakHashMapConverter

java.lang.Object
  extended by java.beans.PropertyEditorSupport
      extended by org.sonatype.gshell.util.converter.ConverterSupport
          extended by org.sonatype.gshell.util.converter.collections.MapConverterSupport
              extended by org.sonatype.gshell.util.converter.collections.WeakHashMapConverter
All Implemented Interfaces:
PropertyEditor, Converter

public class WeakHashMapConverter
extends MapConverterSupport

Converter for WeakHashMap types.

Since:
2.0

Constructor Summary
WeakHashMapConverter()
           
 
Method Summary
protected  Map createMap(Map map)
           
 
Methods inherited from class org.sonatype.gshell.util.converter.collections.MapConverterSupport
convertToObject, convertToString
 
Methods inherited from class org.sonatype.gshell.util.converter.ConverterSupport
getAsText, getType, getValue, setAsText, setValue, toObject, toString
 
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, isPaintable, paintValue, removePropertyChangeListener, setSource, supportsCustomEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.beans.PropertyEditor
addPropertyChangeListener, getCustomEditor, getJavaInitializationString, getTags, isPaintable, paintValue, removePropertyChangeListener, supportsCustomEditor
 

Constructor Detail

WeakHashMapConverter

public WeakHashMapConverter()
Method Detail

createMap

protected Map createMap(Map map)
                 throws Exception
Specified by:
createMap in class MapConverterSupport
Throws:
Exception


Copyright © 2008-2011 Sonatype. All Rights Reserved.