- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for SmbResourceLocator (2.37 sec)
-
src/main/java/jcifs/SmbResourceLocator.java
*/ package jcifs; import java.net.URL; /** * Location information for a SMB resource * * @author mbechler * */ public interface SmbResourceLocator { /** * Returns the last component of the target URL. This will * effectively be the name of the file or directory represented by this
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; import jcifs.DfsReferralData; import jcifs.SmbResourceLocator; @ExtendWith(MockitoExtension.class) public class SmbResourceLocatorInternalTest { @Mock SmbResourceLocatorInternal locator; @Mock SmbResourceLocator other; @Mock DfsReferralData referral;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorInternal.java
import jcifs.CIFSException; import jcifs.DfsReferralData; import jcifs.SmbResourceLocator; /** * Internal interface for SMB resource locators. * * This interface provides internal methods for locating * and resolving SMB resources. * * @author mbechler */ public interface SmbResourceLocatorInternal extends SmbResourceLocator { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
void testResolveInContext() { // Context without share: first element becomes share, rest path SmbResourceLocatorImpl base = locator("smb://server/"); SmbResourceLocator context = mock(SmbResourceLocator.class); when(context.getShare()).thenReturn(null); when(context.getServer()).thenReturn("server"); when(context.getURLPath()).thenReturn("/");
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/main/java/jcifs/smb/SmbResourceLocatorImpl.java
} } /** * {@inheritDoc} * * @see jcifs.SmbResourceLocator#getDfsReferral() */ @Override public DfsReferralData getDfsReferral() { return this.dfsReferral; } /** * {@inheritDoc} * * @see jcifs.SmbResourceLocator#getName() */ @Override public String getName() {
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/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Arrange: mock parent + locator so no real network is used SmbFile parent = mock(SmbFile.class, RETURNS_DEEP_STUBS); SmbResourceLocator locator = mock(SmbResourceLocator.class); when(parent.getLocator()).thenReturn(locator); // Host is empty -> triggers master browser path URL anyUrlWithEmptyHost = new URL("file:/");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
throws MalformedURLException, DcerpcException { return DcerpcHandle.getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", loc.getServer(), ep, address.getHostAddress()), ctx); } static FileEntry[] doDfsRootEnum(final CIFSContext ctx, final SmbResourceLocator loc, final Address address) throws IOException {
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/test/java/jcifs/smb/NetServerEnumIteratorTest.java
import jcifs.SmbConstants; import jcifs.SmbResource; import jcifs.SmbResourceLocator; /** * Unit tests for NetServerEnumIterator. * Tests focus on constructor validation and basic iterator contract. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class NetServerEnumIteratorTest { @Mock private SmbResourceLocator locator; @Mock private SmbTreeHandleImpl treeHandle;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
return tr.acquire(); } } } } SmbResourceLocator ensureDFSResolved(final SmbResourceLocatorImpl loc) throws CIFSException { return ensureDFSResolved(loc, null); } SmbResourceLocator ensureDFSResolved(final SmbResourceLocatorImpl loc, final RequestWithPath request) throws CIFSException {
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/DirFileEntryEnumIterator1Test.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.ResourceNameFilter; import jcifs.SmbResource; import jcifs.SmbResourceLocator; import jcifs.internal.smb1.com.SmbComFindClose2; import jcifs.internal.smb1.trans2.Trans2FindFirst2; import jcifs.internal.smb1.trans2.Trans2FindFirst2Response; import jcifs.internal.smb1.trans2.Trans2FindNext2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0)