|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.batch.item.file.transform.PassThroughFieldExtractor<T>
public class PassThroughFieldExtractor<T>
FieldExtractor that just returns the original item. If the item is an
array or collection it will be returned as is, otherwise it is wrapped in a
single element array.
| Constructor Summary | |
|---|---|
PassThroughFieldExtractor()
|
|
| Method Summary | |
|---|---|
java.lang.Object[] |
extract(T item)
Get an array of fields as close as possible to the input. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PassThroughFieldExtractor()
| Method Detail |
|---|
public java.lang.Object[] extract(T item)
FieldSet or array will be returned as istoArray() method will be usedvalues() will be returned as an array
extract in interface FieldExtractor<T>item - the object to convert
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||