Package org.springframework.cloud.task.batch.autoconfigure.flatfile

# Class FlatFileItemWriterAutoConfiguration.MapFieldExtractor

java.lang.Object
org.springframework.cloud.task.batch.autoconfigure.flatfile.FlatFileItemWriterAutoConfiguration.MapFieldExtractor

All Implemented Interfaces:
  `org.springframework.batch.item.file.transform.FieldExtractor<Map<String,Object>>`

Enclosing class:
  FlatFileItemWriterAutoConfiguration

public static class FlatFileItemWriterAutoConfiguration.MapFieldExtractor extends Object implements org.springframework.batch.item.file.transform.FieldExtractor<Map<String,Object>>
A `FieldExtractor` that converts a `Map<String, Object>` to the ordered `Object[]` required to populate an output record.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MapFieldExtractor(String[] names)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object[]`
  `extract(Map<String,Object> item)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### MapFieldExtractor

    public MapFieldExtractor(String[] names)

- ## Method Details

  - ### extract

    public Object[] extract(Map<String,Object> item)
    Specified by:
      `extract` in interface `org.springframework.batch.item.file.transform.FieldExtractor<Map<String,Object>>`