Interface DataSourceFilter


  • public interface DataSourceFilter
    Represents a filter which determines whether a specific DataSource is to be selected or deselected by the caller of the filter.
    Author:
    Lyubomir Marinov
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean accept​(javax.media.protocol.DataSource dataSource)
      Determines whether a specific DataSource is accepted by this filter i.e.
    • Method Detail

      • accept

        boolean accept​(javax.media.protocol.DataSource dataSource)
        Determines whether a specific DataSource is accepted by this filter i.e. whether the caller of this filter should include it in its selection.
        Parameters:
        dataSource - the DataSource to be checked whether it is accepted by this filter
        Returns:
        true if this filter accepts the specified DataSource i.e. if the caller of this filter should include it in its selection; otherwise, false