- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getLocator (0.28 sec)
-
src/test/java/jcifs/http/NetworkExplorerTest.java
// Setup default session attribute behavior lenient().when(session.getAttribute(anyString())).thenReturn(null); // Setup SmbFile mock lenient().when(smbFile.getLocator()).thenReturn(locator); lenient().when(locator.getCanonicalURL()).thenReturn("smb://server/share/"); } /** * Test servlet initialization with default parameters */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
/** * @param context * @param name */ private void setContext(final SmbResource context, final String name) { this.fileLocator.resolveInContext(context.getLocator(), name); if (context.getLocator().getShare() != null && context instanceof SmbFile) { this.treeConnection = SmbTreeConnection.create(((SmbFile) context).treeConnection); } else {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0)