org.sonatype.gshell.util.converter.basic
Class ArrayConverter

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

public class ArrayConverter
extends CollectionConverterSupport

Converter for arrays.

Since:
2.0

Constructor Summary
ArrayConverter(Class type, PropertyEditor editor)
           
 
Method Summary
protected  Object createCollection(List list)
           
 
Methods inherited from class org.sonatype.gshell.util.converter.collections.CollectionConverterSupport
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

ArrayConverter

public ArrayConverter(Class type,
                      PropertyEditor editor)
Method Detail

createCollection

protected Object createCollection(List list)
Specified by:
createCollection in class CollectionConverterSupport


Copyright © 2008-2011 Sonatype. All Rights Reserved.