- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for getShare (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/DfsReferralDataTest.java
void testGetShare() { // Given String share = "testshare"; when(mockReferralData.getShare()).thenReturn(share); // When String result = mockReferralData.getShare(); // Then assertEquals(share, result); verify(mockReferralData).getShare(); } @Test @DisplayName("Should get path consumed") void testGetPathConsumed() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
public void testGetShare() throws MalformedURLException { assertEquals("share", new SmbFile("smb1://server/share/file.txt").getShare()); assertEquals("share", new SmbFile("smb1://server/share/").getShare()); assertEquals(null, new SmbFile("smb1://server/").getShare()); } @Test public void testGetServer() throws MalformedURLException {
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/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
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 @DisplayName("queryLookup extracts values case-insensitively")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/DfsReferralData.java
* @return the domain this referral is for */ String getDomain(); /** * Get the share this referral points to * * @return the share this referral points to */ String getShare(); /** * Get the number of characters from the UNC path that were consumed by this referral * * @return the number of characters from the unc path that were consumed by this referral */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
return null; } @Override public String getURLPath() { return null; } @Override public String getShare() { return null; } @Override public String getServerWithDfs() { return null; } @Override public String getServer() {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
* and <code>smb://server/</code> URLs which do not specify a share, * <code>null</code> will be returned. * * @return The share component or <code>null</code> if there is no share */ String getShare(); /** * Retrieve the hostname of the server for this SMB resource. If the resources has been resolved by DFS this will * return the target name. * * @return The server name */
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/SmbTreeImpl.java
} /** * @return the service */ public String getService() { return this.service; } /** * @return the share */ public String getShare() { return this.share; } /** * @return whether this is a DFS share */ public boolean isDfs() { return this.inDfs; } /** *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbFile.java
* <code>null</code> will be returned. * * @return The share component or <code>null</code> if there is no share */ public String getShare() { return this.fileLocator.getShare(); } /** * Retrieve the hostname of the server for this SMB resource. If the resources has been resolved by DFS this will * return the target name. *
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/smb/SmbTreeConnection.java
if (t != null) { if (log.isDebugEnabled()) { log.debug("Tree is " + t); } if (Objects.equals(loc.getShare(), t.getShare())) { try (SmbSessionImpl session = t.getSession()) { targetDomain = session.getTargetDomain(); if (!session.isFailed()) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 30.4K bytes - Click Count (1)