Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for updateType (0.1 sec)

  1. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertNotNull(s);
        }
    
        @Test
        @DisplayName("updateType overrides computed type until changed")
        void testUpdateType() throws Exception {
            // No context mocks needed for this test
            SmbResourceLocatorImpl l = locator("smb://server/share/path");
            l.updateType(SmbConstants.TYPE_SERVER);
            assertEquals(SmbConstants.TYPE_SERVER, l.getType());
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbNamedPipe.java

            setNonPooled(unshared);
            if (!getLocator().isIPC()) {
                throw new MalformedURLException("Named pipes are only valid on IPC$");
            }
            this.fileLocator.updateType(TYPE_NAMED_PIPE);
        }
    
        /**
         * Open the Named Pipe resource specified by the url
         * parameter. The pipeType parameter should be at least one of
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

            }
    
            /*
             * why? am I going around in circles?
             * this.type = type == TYPE_WORKGROUP ? 0 : type;
             */
            this.fileLocator.updateType(type);
            this.attributes = attributes;
            this.createTime = createTime;
            this.lastModified = lastModified;
            this.lastAccess = lastAccess;
            this.size = size;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                    log.debug("Share is IPC " + this.share);
                }
                return true;
            }
            return false;
        }
    
        /**
         * @param t
         */
        void updateType(final int t) {
            this.type = t;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbResourceLocator#getType()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top