Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for getAttributes (0.09 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: 2024-11-03 00:10
    - Last Modified: 2023-01-05 13:17
    - 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: 2024-11-03 00:10
    - Last Modified: 2019-03-22 21:10
    - 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: 2024-11-03 00:10
    - Last Modified: 2020-07-07 10:52
    - 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: 2024-10-31 13:40
    - Last Modified: 2024-10-11 21:11
    - 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: 2024-11-03 00:10
    - Last Modified: 2018-07-01 13:12
    - 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: 2024-11-03 00:10
    - Last Modified: 2019-03-22 21:10
    - 995 bytes
    - Viewed (0)
  7. 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: 2024-11-03 00:10
    - Last Modified: 2018-07-01 13:12
    - 1.1K bytes
    - Viewed (0)
  8. 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: 2024-11-03 00:10
    - Last Modified: 2018-07-01 13:12
    - 1.3K 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: 2024-11-03 00:10
    - Last Modified: 2018-07-01 13:12
    - 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: 2024-11-03 00:10
    - Last Modified: 2023-01-05 13:09
    - 12.3K bytes
    - Viewed (0)
Back to top