Class GFFRecordFilter.FeatureFilter

    • Method Detail

      • setFeature

        public void setFeature​(String feature)
        Set the feature to feature.
        Parameters:
        feature - the feature
      • getFeature

        public String getFeature()
        Retrieve the current feature.
        Returns:
        the feature String
      • accept

        public boolean accept​(GFFRecord record)
        Description copied from interface: GFFRecordFilter
        Return whether or not to accept record.
        Specified by:
        accept in interface GFFRecordFilter
        Parameters:
        record - the GFFRecord to filter
        Returns:
        record. getFeature() == this.getFeature()