Class TypeBasedDataSetFilter

  • All Implemented Interfaces:
    IDataSetFilter

    public class TypeBasedDataSetFilter
    extends java.lang.Object
    implements IDataSetFilter
    Filter which will be passed only by data sets with a data set type code matching a certain regular expression.
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeBasedDataSetFilter​(java.lang.String datasetTypeCodePattern)
      Creates an instance for the specified regular expression.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean pass​(DataSet dataSet)
      Return true if the data set type code of the specified data set matches the regular expression provided as constructor argument.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TypeBasedDataSetFilter

        public TypeBasedDataSetFilter​(java.lang.String datasetTypeCodePattern)
        Creates an instance for the specified regular expression.
    • Method Detail

      • pass

        public boolean pass​(DataSet dataSet)
        Return true if the data set type code of the specified data set matches the regular expression provided as constructor argument.
        Specified by:
        pass in interface IDataSetFilter
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object