Module jcifs

Interface ResourceNameFilter


public interface ResourceNameFilter
Filter based on a resource name
Author:
mbechler
  • Method Summary

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

    • accept

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