Module jcifs

Interface SmbFileFilter

All Known Implementing Classes:
DosFileFilter

public interface SmbFileFilter
Filter interface for SMB file listings
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Tests whether the specified SMB file should be included in a file list.
  • Method Details

    • accept

      boolean accept(SmbFile file) throws SmbException
      Tests whether the specified SMB file should be included in a file list.
      Parameters:
      file - the SMB file to test for inclusion
      Returns:
      true if the file should be included, false otherwise
      Throws:
      SmbException - if an error occurs while accessing the file