Class DataFileFormatter
java.lang.Object
net.sf.basedb.clients.web.formatter.DataFileFormatter
Formatter implementation for file sets that lists all member files
of a given file type
- Since:
- 3.5
- Author:
- nicklas
-
Field Summary
Modifier and TypeFieldDescriptionprivate final DbControl
private final DataFileType
private final FileViewerUtil
private ItemQuery<FileSetMember>
private final ModeInfo
-
Constructor Summary
ConstructorDescriptionDataFileFormatter
(DbControl dc, DataFileType fileType, ModeInfo mode) Creates a new formatter instance for the given file type and list mode.DataFileFormatter
(DbControl dc, DataFileType fileType, ModeInfo mode, FileViewerUtil fileViewer) Creates a new formatter instance for the given file type and list mode. -
Method Summary
-
Field Details
-
dc
-
fileType
-
mode
-
fileViewer
-
memberQuery
-
-
Constructor Details
-
DataFileFormatter
Creates a new formatter instance for the given file type and list mode. -
DataFileFormatter
public DataFileFormatter(DbControl dc, DataFileType fileType, ModeInfo mode, FileViewerUtil fileViewer) Creates a new formatter instance for the given file type and list mode.- Since:
- 3.17
-
-
Method Details
-
format
Lists the name of all member files in the file set that are of the configured file type. -
parseString
Not supported- Specified by:
parseString
in interfaceFormatter<FileSet>
- Parameters:
value
- The string to parse- Returns:
- An object
-