- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for SmbFileFilter (0.53 sec)
-
src/main/java/jcifs/smb1/smb1/SmbFileFilter.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; /** * Filter interface for SMB file listings */ public interface SmbFileFilter { /** * Tests whether the specified SMB file should be included in a file list. * * @param file the SMB file to test for inclusion * @return true if the file should be included, false otherwise
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileFilter.java
*/ package jcifs.smb; /** * Filter interface for SMB file filtering. * * This interface allows selective filtering of files * when listing directory contents in SMB shares. */ public interface SmbFileFilter { /** * Tests whether the specified SMB file should be included in a file list. * * @param file the SMB file to test for inclusion * @return whether the given file should be included
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java
* bypass the filter logic. */ public class SmbFileFilterTest { /** * A minimal implementation that accepts every {@link SmbFile}. */ private final SmbFileFilter ALWAYSACTIVE = new SmbFileFilter() { @Override public boolean accept(SmbFile file) throws SmbException { // Never inspect the file – simply accept. return true; } }; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
void accept_returnsTrueForDirectory_andVerifiesInteraction() throws Exception { // Arrange: filter that accepts directories only SmbFileFilter filter = f -> f.isDirectory(); when(smbFile.isDirectory()).thenReturn(true); // Act boolean result = filter.accept(smbFile); // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/DosFileFilter.java
package jcifs.smb; /** * File filter implementation for DOS-style wildcards and attributes. * Supports filtering files based on DOS wildcards and file attributes. * */ public class DosFileFilter implements SmbFileFilter { /** * The wildcard pattern for filtering file names. */ protected String wildcard; /** * The DOS file attributes to filter on. */ protected int attributes;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/DosFileFilter.java
*/ package jcifs.smb1.smb1; /** * DOS-style file filter implementation for SMB1 protocol. * Filters files based on wildcard patterns and DOS file attributes. */ public class DosFileFilter implements SmbFileFilter { /** * The wildcard pattern for filtering file names. */ protected String wildcard; /** * The DOS file attributes to filter on. */ protected int attributes;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0)