Interface FieldSetFactory

All Known Implementing Classes:
DefaultFieldSetFactory

public interface FieldSetFactory
Factory interface for creating FieldSet instances.
Author:
Dave Syer
  • Method Summary

    Modifier and Type
    Method
    Description
    create(String[] values)
    Create a FieldSet with anonymous tokens.
    create(String[] values, String[] names)
    Create a FieldSet with named tokens.
  • Method Details

    • create

      FieldSet create(String[] values, 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
      Returns:
      an instance of FieldSet.
      See Also:
    • create

      FieldSet create(String[] values)
      Create a FieldSet with anonymous tokens. They can only be retrieved by column number.
      Parameters:
      values - the token values
      Returns:
      an instance of FieldSet.
      See Also: