- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for SmbResourceLocator (0.24 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 thisRegistered: 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/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/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/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/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
*/ package jcifs.smb; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSException; import jcifs.ResourceNameFilter; import jcifs.SmbResource; import jcifs.SmbResourceLocator; import jcifs.internal.smb1.com.SmbComBlankResponse; import jcifs.internal.smb1.com.SmbComFindClose2; import jcifs.internal.smb1.trans.SmbComTransaction; import jcifs.internal.smb1.trans2.Trans2FindFirst2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K 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/NetServerEnumIterator.java
import org.slf4j.LoggerFactory; import jcifs.CIFSException; import jcifs.CloseableIterator; import jcifs.ResourceNameFilter; import jcifs.SmbConstants; import jcifs.SmbResource; import jcifs.SmbResourceLocator; import jcifs.internal.smb1.net.NetServerEnum2; import jcifs.internal.smb1.net.NetServerEnum2Response; import jcifs.internal.smb1.trans.SmbComTransaction; /** * Iterator for enumerating network servers. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0)