Package com.vaadin.data.util.converter
Class StringToCollectionConverter.DefaultCollectionFactory
- java.lang.Object
-
- com.vaadin.data.util.converter.StringToCollectionConverter.DefaultCollectionFactory
-
- All Implemented Interfaces:
StringToCollectionConverter.CollectionFactory
,Serializable
- Enclosing class:
- StringToCollectionConverter
public static class StringToCollectionConverter.DefaultCollectionFactory extends Object implements StringToCollectionConverter.CollectionFactory
Default collection factory implementation.- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultCollectionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<?>
createCollection(Class<? extends Collection> type)
Create collection by itstype
.
-
-
-
Method Detail
-
createCollection
public Collection<?> createCollection(Class<? extends Collection> type)
Description copied from interface:StringToCollectionConverter.CollectionFactory
Create collection by itstype
.- Specified by:
createCollection
in interfaceStringToCollectionConverter.CollectionFactory
- Parameters:
type
- collection type- Returns:
- instantiated collection with given
type
-
-