Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 153 for getAttribute (0.06 sec)

  1. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

         */
        public int getFileAttributes() {
            return this.fileAttributes;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getAttributes()
         */
        @Override
        public int getAttributes() {
            return getFileAttributes();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify
            assertEquals(expectedFilename, fileBothDirectoryInfo.getFilename());
        }
    
        @Test
        @DisplayName("Test getAttributes returns correct attributes")
        void testGetAttributes() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            when(mockFile1.length()).thenReturn(1024L);
            when(mockFile1.lastModified()).thenReturn(1000L);
            when(mockFile1.isDirectory()).thenReturn(false);
            when(mockFile1.getAttributes()).thenReturn(0x20);
            when(mockFile1.createTime()).thenReturn(500L);
            when(mockFile1.lastAccess()).thenReturn(800L);
    
            when(mockFile2.getName()).thenReturn("dir1");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/InfoTest.java

            java.lang.reflect.Field size = SmbComQueryInformationResponse.class.getDeclaredField("fileSize");
            size.setAccessible(true);
            size.setInt(resp, 2048);
    
            assertEquals(0xABCD, resp.getAttributes());
            assertEquals(1630000001000L, resp.getCreateTime());
            assertEquals(1630000001000L, resp.getLastWriteTime());
            assertEquals(2048, resp.getSize());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/SmbBasicFileInfo.java

     *
     * @author mbechler
     */
    public interface SmbBasicFileInfo {
    
        /**
         * Gets the file attributes.
         *
         * @return file attributes
         */
        int getAttributes();
    
        /**
         * Gets the file creation time.
         *
         * @return file create time
         */
        long getCreateTime();
    
        /**
         * Gets the file last write time.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java

         */
        @Override
        protected SmbResource adapt(final FileEntry e) throws MalformedURLException {
            return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(),
                    e.lastModified(), e.lastAccess(), e.length());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacSidAttributes.java

         */
        public SID getId() {
            return this.id;
        }
    
        /**
         * Gets the attribute flags associated with the SID.
         *
         * @return the attribute flags
         */
        public int getAttributes() {
            return this.attributes;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                //this should mostly be true :)
                //if it isn't true then the syntax highlighting won't spoil the view too much anyway
                newElement.setAttribute("language", "java");
                nodes.push(newElement);
                return true;
            }
    
            @Override
            public void onText(String text) {
                nodes.appendChild(text);
            }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed May 21 06:20:45 UTC 2025
    - 29.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacGroup.java

         */
        public SID getId() {
            return this.id;
        }
    
        /**
         * Returns the group membership attributes.
         * @return the attributes value
         */
        public int getAttributes() {
            return this.attributes;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocRenderer.java

            listener.start(String.format("class %s", classDoc.getName()));
            try {
                Element chapter = parent.getOwnerDocument().createElement("chapter");
                parent.appendChild(chapter);
                chapter.setAttribute("id", classDoc.getId());
                descriptionRenderer.renderTo(classDoc, chapter);
                merge(classDoc, chapter);
            } finally {
                listener.finish();
            }
        }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
Back to top