Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 182 for getAttributes (0.06 seconds)

  1. src/main/java/org/codelibs/fess/opensearch/user/exentity/Group.java

            asDocMeta().id(id);
        }
    
        @Override
        public String toString() {
            return "Group [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() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. 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;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/FileEntry.java

         * Gets the file type.
         *
         * @return the file type
         */
        int getType();
    
        /**
         * Gets the file attributes.
         *
         * @return the file attributes
         */
        int getAttributes();
    
        /**
         * Gets the file creation time.
         *
         * @return the creation time in milliseconds since epoch
         */
        long createTime();
    
        /**
         * Gets the last modified time.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

            assertEquals(serverTimeZoneOffset, response.getLastWriteTime());
        }
    
        /**
         * Test of getAttributes method, of class SmbComQueryInformationResponse.
         */
        @Test
        public void testGetAttributes() {
            // Initially, attributes should be 0.
            assertEquals(0, response.getAttributes());
        }
    
        /**
         * Test of getCreateTime method, of class SmbComQueryInformationResponse.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * with {@code setAttributes()} will be a system file
         */
        public static final int ATTR_SYSTEM = 0x04;
        /**
         * A file with this bit on as returned by {@code getAttributes()} is
         * a volume
         */
        public static final int ATTR_VOLUME = 0x08;
        /**
         * A file with this bit on as returned by {@code getAttributes()} is
         * a directory
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  6. 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() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                // Verify interactions
                assertEquals(0x20, response.info.getAttributes());
                assertEquals(1024L, response.info.getSize());
                assertEquals(1000000L, response.info.getCreateTime());
                assertEquals(2000000L, response.info.getLastWriteTime());
    
                // Verify the mock was called
                verify(mockInfo).getAttributes();
                verify(mockInfo).getSize();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb1/smb1/SmbShareInfo.java

            case 1:
                return SmbFile.TYPE_PRINTER;
            case 3:
                return SmbFile.TYPE_NAMED_PIPE;
            }
            return SmbFile.TYPE_SHARE;
        }
    
        @Override
        public int getAttributes() {
            return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY;
        }
    
        @Override
        public long createTime() {
            return 0L;
        }
    
        @Override
        public long lastModified() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java

        }
    
        @Override
        public boolean isEditable() {
            return true;
        }
    
        public Map<String, String> getAttributes() {
            return attributes;
        }
    
        public void setAttributes(final Map<String, String> attributes) {
            this.attributes = attributes;
        }
    
        @Override
        public Map<String, Object> toSource() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:22:27 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertEquals(SmbConstants.TYPE_SHARE, info.getType());
        }
    
        @Test
        @DisplayName("Test getAttributes always returns readonly directory")
        void testGetAttributes() {
            // Default instance
            assertEquals(SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, shareInfo.getAttributes());
    
            // Instance with values - attributes are still constant
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top