Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 160 for getAttributes (0.17 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java

            assertEquals(BasicFileInformation.FILE_STANDARD_INFO, fileStandardInfo.getFileInformationLevel());
        }
    
        @Test
        @DisplayName("Test getAttributes returns 0")
        void testGetAttributes() {
            assertEquals(0, fileStandardInfo.getAttributes());
        }
    
        @Test
        @DisplayName("Test getCreateTime returns 0")
        void testGetCreateTime() {
            assertEquals(0L, fileStandardInfo.getCreateTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbResourceTest.java

            @Test
            @DisplayName("getAttributes should return file attributes")
            void testGetAttributes() throws CIFSException {
                // Given
                int expectedAttributes = 0x20; // FILE_ATTRIBUTE_ARCHIVE
                when(mockResource.getAttributes()).thenReturn(expectedAttributes);
    
                // When
                int attributes = mockResource.getAttributes();
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/exentity/Role.java

            asDocMeta().id(id);
        }
    
        @Override
        public String toString() {
            return "Role [name=" + name + "]";
        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public void setAttributes(final Map<String, String> attributes) {
            this.attributes = attributes;
        }
    
        @Override
        public Map<String, Object> toSource() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndXResponse.java

        public final int getExtFileAttributes() {
            return this.extFileAttributes;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getAttributes()
         */
        @Override
        public int getAttributes() {
            return getExtFileAttributes();
        }
    
        /**
         * Gets the device state.
         *
         * @return the deviceState
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertEquals(0, response.getFileAttributes());
            }
    
            @Test
            @DisplayName("getAttributes should return same as getFileAttributes")
            void testGetAttributes() {
                assertEquals(response.getFileAttributes(), response.getAttributes());
            }
    
            @Test
            @DisplayName("getFileId should return the file ID passed in constructor")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

        SmbComQueryInformationResponse(final long serverTimeZoneOffset) {
            this.serverTimeZoneOffset = serverTimeZoneOffset;
            command = SMB_COM_QUERY_INFORMATION;
        }
    
        @Override
        public int getAttributes() {
            return fileAttributes;
        }
    
        @Override
        public long getCreateTime() {
            return lastWriteTime + serverTimeZoneOffset;
        }
    
        @Override
        public long getLastWriteTime() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/FileEntry.java

         * Gets the type of the entry.
         *
         * @return the entry type
         */
        int getType();
    
        /**
         * Gets the file attributes.
         *
         * @return the file attributes
         */
        int getAttributes();
    
        /**
         * Gets the creation time.
         *
         * @return the creation time in milliseconds since epoch
         */
        long createTime();
    
        /**
         * Gets the last modified time.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 881 bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DosFileFilter.java

         * specified the server may still return objects that are not directories).
         */
        @Override
        public boolean accept(final SmbFile file) throws SmbException {
            return (file.getAttributes() & this.attributes) != 0;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top