Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for getAttributes (0.2 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/smb1/smb1/Trans2QueryPathInformationResponse.java

        class SmbQueryFileBasicInfo implements Info {
            long createTime;
            long lastAccessTime;
            long lastWriteTime;
            long changeTime;
            int attributes;
    
            public int getAttributes() {
                return attributes;
            }
            public long getCreateTime() {
                return createTime;
            }
            public long getLastWriteTime() {
                return lastWriteTime;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.4K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/util/PrunedTag.java

                    final Node attr = node.getAttributes().getNamedItem(attrName);
                    if (attr == null || !attrValue.equals(attr.getNodeValue())) {
                        return false;
                    }
                }
                if (id == null) {
                    if (css == null) {
                        return true;
                    }
                    final Node classAttr = node.getAttributes().getNamedItem("class");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java

        public final int getFileAttributes () {
            return this.fileAttributes;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getAttributes()
         */
        @Override
        public int getAttributes () {
            return getFileAttributes();
        }
    
    
        /**
         * @return the fileType
         */
        public final int getFileType () {
            return this.fileType;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Info.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    interface Info {
        int getAttributes();
        long getCreateTime();
        long getLastWriteTime();
        long getSize();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 995 bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/SmbBasicFileInfo.java

     */
    
    package jcifs.internal;
    
    
    /**
     * 
     * @author mbechler
     *
     */
    public interface SmbBasicFileInfo {
    
        /**
         * 
         * @return file attributes
         */
        int getAttributes ();
    
    
        /**
         * 
         * @return file create time
         */
        long getCreateTime ();
    
    
        /**
         * 
         * @return file last write time
         */
        long getLastWriteTime ();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/PacGroup.java

            super();
            this.id = id;
            this.attributes = attributes;
        }
    
    
        public SID getId () {
            return this.id;
        }
    
    
        public int getAttributes () {
            return this.attributes;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java

            return this.fileAttributes;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.SmbBasicFileInfo#getAttributes()
         */
        @Override
        public final int getAttributes () {
            return getFileAttributes();
        }
    
    
        /**
         * @return the fileId
         */
        public final byte[] getFileId () {
            return this.fileId;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (0)
  10. 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)
Back to top