- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for SmbResourceLocatorImpl (0.64 sec)
-
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
* @param u */ public SmbResourceLocatorImpl(final CIFSContext ctx, final URL u) { this.ctx = ctx; this.url = u; } /** * {@inheritDoc} * * @see java.lang.Object#clone() */ @Override protected SmbResourceLocatorImpl clone() { final SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(this.ctx, this.url); loc.canon = this.canon;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
return connectHost(loc, host, null); } /** * * @param loc * @param host * @param referral * @return tree handle * @throws IOException */ public synchronized SmbTreeHandleImpl connectHost(final SmbResourceLocatorImpl loc, String host, final DfsReferralData referral)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
when(nsc2.getAllByName(anyString(), anyBoolean())).thenThrow(new UnknownHostException("fail")); SmbResourceLocatorImpl l3 = new SmbResourceLocatorImpl(ctx2, smbUrl("smb://host/share/file")); SmbResourceLocatorImpl l4 = new SmbResourceLocatorImpl(ctx2, smbUrl("smb://HOST/share/file")); assertEquals(l3, l4); assertEquals(l3.hashCode(), l4.hashCode()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
@Override public SmbTreeHandleImpl connect(SmbResourceLocatorImpl loc) throws java.io.IOException { throw new java.net.UnknownHostException("nohost"); } }; SmbResourceLocatorImpl loc = new SmbResourceLocatorImpl(ctx, smbUrl("smb://server/share/"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
throw new AssertionError("Failed to create SMB URL: " + spec, e); } } // Utility to build a minimal locator for connect tests private static SmbResourceLocatorImpl newLocator(CIFSContext ctx) { return new SmbResourceLocatorImpl(ctx, smbUrl("smb://server/share")); } @Test @DisplayName("Constructor with CIFSContext: creates instance") void constructor_withContext_createsInstance() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
private final SmbResourceLocatorImpl resourceLoc; private final SmbTreeConnection treeConnection; private final AtomicLong usageCount = new AtomicLong(1); /** * @param resourceLoc * @param treeConnection */ public SmbTreeHandleImpl(final SmbResourceLocatorImpl resourceLoc, final SmbTreeConnection treeConnection) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
import jcifs.internal.smb1.com.SmbComNegotiateResponse; @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class SmbTreeHandleImplTest { @Mock SmbResourceLocatorImpl resourceLoc; @Mock SmbTreeConnection treeConnection; @Mock SmbSessionImpl session; @Mock SmbTransportImpl transport; @Mock Configuration config;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
final ResourceNameFilter fnf, final ResourceFilter ff) throws CIFSException { // clone the locator so that the address index is not modified final SmbResourceLocatorImpl locator = parent.fileLocator.clone(); final CIFSContext tc = parent.getContext(); final URL u = locator.getURL(); FileEntry[] entries;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
private final CIFSContext transportContext; private SmbTreeConnection treeConnection; /** * The resource locator containing the parsed SMB URL components */ protected final SmbResourceLocatorImpl fileLocator; private SmbTreeHandleImpl treeHandle; /** * Constructs an SmbFile representing a resource on an SMB network such as
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0)