- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 20 for getUNCPath (0.07 seconds)
-
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
this.openFlags = pipe.getPipeType() & 0xFFFF00FF | SmbConstants.O_EXCL; this.access = pipe.getPipeType() & 7 | 0x20000; this.uncPath = this.pipe.getUncPath(); } /** * {@inheritDoc} * * @see jcifs.SmbPipeHandle#unwrap(java.lang.Class) */ @SuppressWarnings("unchecked") @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 10.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
assertEquals("\\\\server\\share\\file.txt", new SmbFile("smb1://server/share/file.txt").getUncPath()); // For share URLs with trailing slash, the UNC path includes the trailing slash assertEquals("\\\\server\\share\\", new SmbFile("smb1://server/share/").getUncPath()); assertEquals("\\\\server", new SmbFile("smb1://server/").getUncPath()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
private DfsReferralData dfsReferral = null; // For getDfsPath() and getServerWithDfs() private String unc; // Initially null; set by getUncPath; never ends with '/' private String uncBeforeDfsReferal; private String canon; // Initially null; set by getUncPath; dir must end with '/' private String share; // Can be null private Address[] addresses; private int addressIndex; private int type;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 23.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
l.getAddress(); l.updateType(SmbConstants.TYPE_SHARE); SmbResourceLocatorImpl copy = l.clone(); assertEquals(l.getURLPath(), copy.getURLPath()); assertEquals(l.getUNCPath(), copy.getUNCPath()); assertEquals(l.getShare(), copy.getShare()); assertEquals(l.getType(), copy.getType()); assertSame(l.getURL(), copy.getURL()); } @ParameterizedTest
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java
*/ @SuppressWarnings("resource") @Override protected FileEntry open() throws CIFSException { final SmbTreeHandleImpl th = getTreeHandle(); final String uncPath = getParent().getLocator().getUNCPath(); final Smb2CreateRequest create = new Smb2CreateRequest(th.getConfig(), uncPath); create.setCreateOptions(Smb2CreateRequest.FILE_DIRECTORY_FILE);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
} @Test @DisplayName("getPipe, getPipeType, getUncPath delegate to underlying pipe") void testBasicAccessors() { when(pipe.getPipeType()).thenReturn(0x123456); assertSame(pipe, target.getPipe()); assertEquals(0x123456, target.getPipeType()); assertEquals("\\\\pipe\\\\my-pipe", target.getUncPath()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
return dfsReferral; } public void setDfsReferral(DfsReferralData dfsReferral) { this.dfsReferral = dfsReferral; } @Override public String getUNCPath() { return null; } @Override public String getURLPath() { return null; } @Override public String getShare() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
} /** * Returns the UNC path of this resource relative to the share * * @return this file's unc path below the share */ public String getUncPath() { return this.fileLocator.getUNCPath(); } /** * Customizes the NT create request and response for subclass-specific behavior * * @param request the create request to customizeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 103.2K bytes - Click Count (0) -
src/main/java/jcifs/SmbResourceLocator.java
/** * Returns the canonicalized UNC path of this SMB resource relative to its share. * * @return The canonicalized UNC path of this SMB resource (relative to it's share) */ String getUNCPath(); /** * Returns the canonicalized URL path relative to the server or domain. * * @return The canonicalized URL path (relative to the server/domain) */ String getURLPath();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
new Trans2SetFileInformationResponse(dh.getConfig())); } else { dh.send(new SmbComSetInformation(dh.getConfig(), dest.getUncPath(), attrs, mtime), new SmbComSetInformationResponse(dh.getConfig())); } } } catch (final IOException se) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16.6K bytes - Click Count (0)