Module jcifs

Interface ResourceFilter


public interface ResourceFilter
Filter based on a resource instance
Author:
mbechler
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(SmbResource resource)
    Tests whether the specified SMB resource should be included.
  • Method Details

    • accept

      boolean accept(SmbResource resource) throws CIFSException
      Tests whether the specified SMB resource should be included.
      Parameters:
      resource - the SMB resource to test
      Returns:
      whether the given resource should be included
      Throws:
      CIFSException - if an error occurs while accessing the resource