- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for uncu (0.01 sec)
-
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertEquals("dfs-share", l.getShare()); // Path consumed negative -> coerced to 0 when(dr.getPathConsumed()).thenReturn(-1); String unc2 = l.handleDFSReferral(dr, null); assertTrue(unc2.contains("dfs/path") || unc2.contains("dfs\\path")); } @Test @DisplayName("toString includes URL and cached fields") void testToString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/RequestWithPath.java
*/ String getDomain(); /** * Gets the full UNC path. * * @return the full UNC path */ String getFullUNCPath(); /** * Sets the path to the resource. * * @param path the path to set */ void setPath(String path); /** * Sets the full UNC path components. * * @param domain the domain name
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
strictValidator.validatePath("//server\u0001/share"); }); // Note: Proper UNC validation would require fixing the normalization to preserve \\ // for UNC paths. Current implementation can't distinguish UNC paths after normalization. } @Test public void testInvalidUncServerName() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
public String getUNCPath() { if (this.unc == null) { canonicalizePath(); } return this.unc; } @Override public String getURLPath() { if (this.unc == null) { canonicalizePath(); } return this.canon; } @Override public String getShare() { if (this.unc == null) { canonicalizePath();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
return normalized; } /** * Validate UNC path */ private void validateUncPath(String path) throws SmbException { // UNC path should have format: \\server\share[\path] if (!path.startsWith("\\\\") && !path.startsWith("//")) { throw new SmbException("Invalid UNC path format"); } String[] parts = path.substring(2).split("[\\\\/]");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
// Test UNC path with special characters String specialUNCPath = "\\\\server\\share\\folder with spaces\\file!@#$.txt"; testImplementation.setFullUNCPath("DOMAIN", "server", specialUNCPath); assertEquals(specialUNCPath, testImplementation.getFullUNCPath()); } @Test @DisplayName("Test with various UNC path formats") void testVariousUNCPathFormats() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/jcifs/DfsReferralData.java
* * @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 */ int getPathConsumed(); /** * Get the replacement path for this referral *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java
final String unc = loc.getUNCPath(); final String p = loc.getURL().getPath(); if (p.lastIndexOf('/') != p.length() - 1) { throw new SmbException(loc.getURL() + " directory must end with '/'"); } if (unc.lastIndexOf('\\') != unc.length() - 1) { throw new SmbException(unc + " UNC must end with '\\'"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTree.java
if (LogStream.level >= 4) { SmbTransport.log.println("treeConnect: unc=" + unc + ",service=" + service); } final SmbComTreeConnectAndXResponse response = new SmbComTreeConnectAndXResponse(andxResponse); final SmbComTreeConnectAndX request = new SmbComTreeConnectAndX(session, unc, service, andx); session.send(request, response);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
final int access, final int attrs, final int options, final long initialSize) { this.cfg = cfg; this.fileId = fid; this.initialSize = initialSize; this.fid = 0; this.unc = unc; this.flags = flags; this.access = access; this.attrs = attrs;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1)