- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 92 for SmbFile (0.33 seconds)
-
docs/smb3-features/01-smb3-lease-design.md
if (isV2) { leaseContext.setEpoch(1); // Set parent lease key if available } addCreateContext(leaseContext); } ``` ### 6.2 Modifying SmbFile ```java // In SmbFile.java private Smb2LeaseKey leaseKey; private int leaseState; private LeaseManager leaseManager; protected void doConnect() throws IOException { // ... existing connection logic ...
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/DosFileFilter.java
* support filtering by all attributes (e.g. even though ATTR_DIRECTORY was * specified the server may still return objects that are not directories). */ @Override public boolean accept(final SmbFile file) throws SmbException { return (file.getAttributes() & attributes) != 0; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFilenameFilter.java
* @param name the name of the file * @return true if the file should be included, false otherwise * @throws SmbException if an SMB error occurs during evaluation */ boolean accept(SmbFile dir, String name) throws SmbException;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.5K bytes - Click Count (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
import jcifs.DfsResolver; import jcifs.NameServiceClient; import jcifs.SidResolver; import jcifs.SmbPipeResource; import jcifs.SmbResource; import jcifs.SmbTransportPool; import jcifs.smb.Handler; import jcifs.smb.SmbFile; import jcifs.smb.SmbNamedPipe; /** * A wrapper implementation of CIFSContext that delegates to another context. * This class allows for context decoration and customization through delegation. *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* Named Pipes</a> for a detailed description of how to use jCIFS with * Win32 Named Pipe server processes. * */ public class SmbNamedPipe extends SmbFile { /** * The pipe should be opened read-only. */ public static final int PIPE_TYPE_RDONLY = O_RDONLY; /** * The pipe should be opened only for writing. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Handler.java
@Override protected int getDefaultPort() { return SmbConstants.DEFAULT_PORT; } @Override public URLConnection openConnection(final URL u) throws IOException { return new SmbFile(u); } @Override protected void parseURL(final URL u, String spec, final int start, int limit) { final String host = u.getHost(); String path, ref; int port;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/main/java/jcifs/context/BaseContext.java
import jcifs.smb.BufferCacheImpl; import jcifs.smb.CredentialsInternal; import jcifs.smb.DfsImpl; import jcifs.smb.Handler; import jcifs.smb.NtlmPasswordAuthenticator; import jcifs.smb.SIDCacheImpl; import jcifs.smb.SmbFile; import jcifs.smb.SmbNamedPipe; import jcifs.smb.SmbTransportPoolImpl; /** * Base implementation of CIFS context providing core functionality for SMB operations.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
private SmbResourceLocator locator; @Mock private SmbTreeHandleImpl treeHandle; @Mock private Configuration config; @Mock private ResourceNameFilter nameFilter; private SmbFile parent; @BeforeAll static void setupURLHandler() { // Register the SMB URL handler to avoid MalformedURLException String pkgs = System.getProperty("java.protocol.handler.pkgs");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/Handler.java
} @Override public URLConnection openConnection(final URL u) throws IOException { if (log.isDebugEnabled()) { log.debug("Opening file " + u); } return new SmbFile(u, getTransportContext()); } /** * @return */ private CIFSContext getTransportContext() { if (this.transportContext == null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0)