public class IterableStringMapper extends Object implements IValueMapper
Constructor and Description |
---|
IterableStringMapper()
Create a new string mapper.
|
IterableStringMapper(String delim)
Create a new string mapper.
|
IterableStringMapper(String delim,
IValueMapper submapper)
Create a new string mapper.
|
IterableStringMapper(String prefix,
String delim)
Create a new string mapper.
|
IterableStringMapper(String prefix,
String delim,
String postfix)
Create a new string mapper.
|
IterableStringMapper(String prefix,
String delim,
String postfix,
IValueMapper submapper)
Create a new string mapper.
|
public IterableStringMapper()
public IterableStringMapper(String delim)
delim
- The delimiter that is placed between elements.public IterableStringMapper(String delim, IValueMapper submapper)
delim
- The delimiter that is placed between elements.submapper
- The submapper that will be invoked for each element.public IterableStringMapper(String prefix, String delim)
prefix
- The prefix for the result string.delim
- The delimiter that is placed between elements.public IterableStringMapper(String prefix, String delim, String postfix)
prefix
- The prefix for the result string.delim
- The delimiter that is placed between elements.postfix
- The postfix for the result string.public IterableStringMapper(String prefix, String delim, String postfix, IValueMapper submapper)
prefix
- The prefix for the result string.delim
- The delimiter that is placed between elements.postfix
- The postfix for the result string.submapper
- The submapper that will be invoked for each element.public Object convertValue(Object value) throws Exception
convertValue
in interface IValueMapper
value
- The value to convert.Exception
Copyright © 2012. All Rights Reserved.