Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for getAttributes (0.08 sec)

  1. src/test/java/jcifs/tests/FileOperationsTest.java

                    try {
                        f.copyTo(t);
                        assertTrue(f.exists());
                        assertEquals(f.length(), t.length());
                        assertEquals(f.getAttributes(), t.getAttributes());
                    }
                    finally {
                        d1.delete();
                    }
                }
                finally {
                    f.delete();
                }
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:17:59 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbCopyUtil.java

                    if ( dh.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                        dest.setPathInformation(src.getAttributes(), src.createTime(), src.lastModified(), src.lastAccess());
                    }
                    else {
                        dest.setPathInformation(src.getAttributes(), 0L, src.lastModified(), 0L);
                    }
                }
                catch ( SmbUnsupportedOperationException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/FileAttributesTest.java

                    int attrs = f.getAttributes() ^ SmbConstants.ATTR_ARCHIVE ^ SmbConstants.ATTR_HIDDEN ^ SmbConstants.ATTR_READONLY;
                    if ( Boolean.parseBoolean(getProperties().getOrDefault("test.skip.hidden", "false")) ) {
                        attrs &= ~SmbConstants.ATTR_HIDDEN;
                    }
                    f.setAttributes(attrs);
                    assertEquals(attrs, f.getAttributes());
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbResource.java

         * Turn off the read-only attribute of this file. This is shorthand for
         * <tt>setAttributes( getAttributes() &amp; ~ATTR_READONLY )</tt>.
         *
         * @throws CIFSException
         */
        void setReadWrite () throws CIFSException;
    
    
        /**
         * Make this file read-only. This is shorthand for <tt>setAttributes(
         * getAttributes() | ATTR_READ_ONLY )</tt>.
         *
         * @throws CIFSException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 26K bytes
    - Viewed (1)
  5. 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 Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/UniAddress.java

            UnknownHostException uhe = null;
    
            try {
                context = new InitialDirContext();
                for ( ;; ) {
                    try {
                        Attributes attributes = context.getAttributes(
                            "dns:/_ldap._tcp.dc._msdcs." + name,
                            new String[] { "SRV" }
                        );
                        return name;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                            if (parent.getNodeName().indexOf(prefix + ":") == 0) {
                                return parent.getNamespaceURI();
                            }
                            final NamedNodeMap nnm = parent.getAttributes();
    
                            for (int i = 0; i < nnm.getLength(); i++) {
                                final Node attr = nnm.item(i);
                                final String aname = attr.getNodeName();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                    if (logger.isDebugEnabled()) {
                        logger.debug("img tag: {}", imgNode);
                    }
                    final NamedNodeMap attributes = imgNode.getAttributes();
                    final String thumbnailUrl = getThumbnailSrc(responseData.getUrl(), attributes);
                    final Integer height = getAttributeAsInteger(attributes, "height");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            return LaRequestUtil.getOptionalRequest().map(req -> {
                @SuppressWarnings("unchecked")
                final Map<String, String> labelValueMap = (Map<String, String>) req.getAttribute(Constants.LABEL_VALUE_MAP);
                if (labelValueMap != null) {
                    return labelValueMap.get(value) != null;
                }
                return false;
            }).orElse(false);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top