- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for getDfsPath (0.07 seconds)
-
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
return null; } return str; } /** * {@inheritDoc} * * @see jcifs.SmbResourceLocator#getDfsPath() */ @Override public String getDfsPath() { if (this.dfsReferral == null) { return null; }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/SmbResourceLocatorTest.java
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/SmbResourceLocator.java
* this method will return the referral path to which it maps. Otherwise * <code>null</code> is returned. * * @return URL to the DFS volume */ String getDfsPath(); /** * Returns the transport port number for this SMB resource connection. * * @return the transport port, if specified */ int getPort(); /**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/SmbFile.java
* * @return URL to the DFS volume * @throws SmbException if an error occurs while resolving the DFS path */ public String getDfsPath() throws SmbException { try { String path = this.treeConnection.ensureDFSResolved(this.fileLocator).getDfsPath(); if (path != null && isDirectory()) { path += '/'; } return path;Created: 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/smb1/smb1/SmbFile.java
private boolean isExists; private int shareAccess = FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE; private SmbComBlankResponse blank_resp = null; private DfsReferral dfsReferral = null; // For getDfsPath() and getServerWithDfs() /** * DFS resolver instance */ protected static Dfs dfs; NtlmPasswordAuthentication auth; // Cannot be null SmbTree tree = null; // Initially nullCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertEquals(dr, l.getDfsReferral()); assertEquals("dfs-server", l.getServerWithDfs()); assertEquals("smb://dfs-server/dfs-share" + l.getUNCPath().replace('\\', '/'), l.getDfsPath()); assertEquals("dfs-share", l.getShare()); // Path consumed negative -> coerced to 0 when(dr.getPathConsumed()).thenReturn(-1); String unc2 = l.handleDFSReferral(dr, null);
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)