Class DataFileFormatter

  • All Implemented Interfaces:
    Formatter<FileSet>

    public class DataFileFormatter
    extends Object
    implements Formatter<FileSet>
    Formatter implementation for file sets that lists all member files of a given file type
    Since:
    3.5
    Author:
    nicklas
    • Constructor Detail

      • DataFileFormatter

        public DataFileFormatter​(DbControl dc,
                                 DataFileType fileType,
                                 ModeInfo mode)
        Creates a new formatter instance for the given file type and list mode.
    • Method Detail

      • format

        public String format​(FileSet value)
        Lists the name of all member files in the file set that are of the configured file type.
        Specified by:
        format in interface Formatter<FileSet>
        Parameters:
        value - The value to format
        Returns:
        A formatted string