Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 160 for getAttributes (0.2 sec)

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

            public String getName() {
                return name;
            }
    
            @Override
            public int getType() {
                return type;
            }
    
            @Override
            public int getAttributes() {
                return 0;
            }
    
            @Override
            public long createTime() {
                return 0;
            }
    
            @Override
            public long lastModified() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        }
    
        @Test
        @DisplayName("Test ServerInfo1 getAttributes")
        void testServerInfo1GetAttributes() throws Exception {
            NetServerEnum2Response.ServerInfo1 server = response.new ServerInfo1();
            int expectedAttributes = SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY;
            assertEquals(expectedAttributes, server.getAttributes());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

            }
        }
    
        @Override
        public void setReadOnly() throws SmbException {
            setAttributes(getAttributes() | ATTR_READONLY);
        }
    
        @Override
        public void setReadWrite() throws SmbException {
            setAttributes(getAttributes() & ~ATTR_READONLY);
        }
    
        /**
         * Returns a {@link java.net.URL} for this <code>SmbFile</code>. The
    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/internal/smb2/lease/DirectoryCacheEntry.java

                return isDirectory;
            }
    
            /**
             * Gets the SMB file attributes for this cached item
             * @return the file attributes
             */
            public long getAttributes() {
                return attributes;
            }
    
            /**
             * Gets the creation timestamp of this cached item
             * @return the creation time
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

                        for (int i = 0; i < nodeList.getLength(); i++) {
                            final Node node = nodeList.item(i);
                            final NamedNodeMap attributes = node.getAttributes();
                            if (attributes != null) {
                                final Node classAttr = attributes.getNamedItem("class");
                                if (classAttr != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/xml/DomUtil.java

            assertArgumentNotNull("buf", buf);
    
            final String tag = element.getTagName();
            buf.append('<');
            buf.append(tag);
            appendAttrs(element.getAttributes(), buf);
            buf.append('>');
            appendChildren(element.getChildNodes(), buf);
            buf.append("</");
            buf.append(tag);
            buf.append('>');
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                final XPathNodes list = getXPathAPI().selectNodeList(document, "//BASE");
                if (list.size() > 0) {
                    final Node node = list.get(0);
                    final Node attrNode = node.getAttributes().getNamedItem("href");
                    if (attrNode != null) {
                        String attrValue = attrNode.getNodeValue();
                        if (StringUtil.isNotBlank(attrValue)) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            // Update cache with new directory listing
            for (SmbFile file : files) {
                try {
                    entry.updateChild(file.getName(), file.length(), file.lastModified(), file.isDirectory(), file.getAttributes(),
                            file.createTime(), file.lastAccess());
                } catch (Exception e) {
                    log.debug("Error updating cache entry for {}: {}", file.getName(), e.getMessage());
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertTrue(file.exists(), "File should exist");
    
            // Set hidden attribute
            int attrs = file.getAttributes();
            file.setAttributes(attrs | SmbConstants.ATTR_HIDDEN);
    
            // Verify hidden attribute is set
            assertTrue((file.getAttributes() & SmbConstants.ATTR_HIDDEN) != 0, "File should be hidden");
    
            // File should still be accessible
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                    return name;
                }
    
                @Override
                public int getType() {
                    return 0;
                }
    
                @Override
                public int getAttributes() {
                    return 0;
                }
    
                @Override
                public long createTime() {
                    return 0;
                }
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top