- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for getLocator (0.04 sec)
-
src/main/java/jcifs/http/NetworkExplorer.java
final ServletOutputStream out = resp.getOutputStream(); String url; int n; try (SmbFileInputStream in = new SmbFileInputStream(file)) { url = file.getLocator().getPath(); resp.setContentType("text/plain"); resp.setContentType(URLConnection.guessContentTypeFromName(url)); resp.setHeader("Content-Length", file.length() + "");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java
lenient().when(tree.getConfig()).thenReturn(config); lenient().when(config.getListCount()).thenReturn(10); lenient().when(config.getListSize()).thenReturn(4096); lenient().when(parent.getLocator()).thenReturn(locator); lenient().when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir\\"); // ends with \\ // Create URL with registered handler
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K 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) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
private void setupParentForUrlCreation() throws CIFSException { // Only set up parent mocks when they're actually needed for URL creation when(parent.getContext()).thenReturn(this.ctx); when(parent.getLocator()).thenReturn(parentLocator); // Make the parent appear as a workgroup to use the simpler URL code-path when(parentLocator.isWorkgroup()).thenReturn(true); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbNamedPipe.java
super(url, tc); this.pipeType = pipeType; setNonPooled(unshared); if (!getLocator().isIPC()) { throw new MalformedURLException("Named pipes are only valid on IPC$"); } this.fileLocator.updateType(TYPE_NAMED_PIPE); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
lenient().when(mockSmbPipeHandle.unwrap(SmbPipeHandleInternal.class)).thenReturn(mockSmbPipeHandleInternal); lenient().when(mockSmbNamedPipe.getContext()).thenReturn(mockContext); lenient().when(mockSmbNamedPipe.getLocator()).thenReturn(mockSmbResourceLocator); lenient().when(mockDcerpcBinding.getServer()).thenReturn(TEST_SERVER); lenient().when(mockDcerpcBinding.getEndpoint()).thenReturn(TEST_ENDPOINT);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
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/SmbFileTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
/** * Gets the file locator for this file * * The file locator provides details about * * @return the fileLocator */ SmbResourceLocator getLocator(); /** * The context this file was opened with * * @return the context associated with this file */ CIFSContext getContext(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1)