org.springframework.batch.item.file.transform

## Interface FieldSetFactory

- All Known Implementing Classes:
    DefaultFieldSetFactory

      public interface FieldSetFactory

  Factory interface for creating `FieldSet` instances.
  Author:
    Dave Syer

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `FieldSet` | `create(java.lang.String[] values)` Create a FieldSet with anonymous tokens.
    `FieldSet` | `create(java.lang.String[] values, java.lang.String[] names)` Create a FieldSet with named tokens.

- - ### Method Detail

    - #### create

          FieldSet create(java.lang.String[] values,
                          java.lang.String[] names)

      Create a FieldSet with named tokens. The token values can then be retrieved either by name or by column number.
      Parameters:
        `values` - the token values
        `names` - the names of the tokens
      See Also:
        `DefaultFieldSet.readString(String)`

    - #### create

          FieldSet create(java.lang.String[] values)

      Create a FieldSet with anonymous tokens. They can only be retrieved by column number.
      Parameters:
        `values` - the token values
      See Also:
        `FieldSet.readString(int)`