Class SingleFileValidationAction

java.lang.Object
net.sf.basedb.util.fileset.SingleFileValidationAction
All Implemented Interfaces:
Action, ValidationAction
Direct Known Subclasses:
CdfValidationAction, CelValidationAction, GtfValidationAction

public abstract class SingleFileValidationAction
extends Object
implements ValidationAction
Base class for validators that works on single files of a known data file type. The external if of the file type should be specified in the constructor.
Since:
3.0
Author:
Nicklas
Last modified
$Date: 2011-05-06 14:09:13 +0200 (fr, 06 maj 2011) $
  • Field Details

    • fileTypeId

      private final String fileTypeId
    • acceptedFile

      private FileSetMember acceptedFile
  • Constructor Details

    • SingleFileValidationAction

      protected SingleFileValidationAction​(String fileTypeId)
      Create a new instance.
      Parameters:
      fileTypeId - The external if of the DataFileType that this validator supports
  • Method Details