Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for lastAccess (0.37 sec)

  1. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify
            assertEquals(expectedLastWriteTime, fileBothDirectoryInfo.lastModified());
        }
    
        @Test
        @DisplayName("Test lastAccess returns correct last access time")
        void testLastAccess() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java

            return new SmbFile(getParent(), e.getName(), true, SmbConstants.TYPE_FILESYSTEM, e.getAttributes(), e.createTime(),
                    e.lastModified(), e.lastAccess(), e.length());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/FileEntry.java

         */
        long lastModified();
    
        /**
         * Gets the last access time.
         *
         * @return the last access time in milliseconds since epoch
         */
        long lastAccess();
    
        /**
         * Gets the file size.
         *
         * @return the file size in bytes
         */
        long length();
    
        /**
         * Gets the file index.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbResource.java

         * @param lastAccess
         *            the last access time as milliseconds since Jan 1, 1970
         * @throws CIFSException if an error occurs modifying the resource
         * @throws jcifs.smb.SmbUnsupportedOperationException
         *             if CAP_NT_SMBS is unavailable
         */
        void setFileTimes(long createTime, long lastModified, long lastAccess) throws CIFSException;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  5. src/main/java/jcifs/smb/SmbFile.java

             */
            this.fileLocator.updateType(type);
            this.attributes = attributes;
            this.createTime = createTime;
            this.lastModified = lastModified;
            this.lastAccess = lastAccess;
            this.size = size;
            this.isExists = true;
    
            if (loadedAttributes) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java

        public long createTime() {
            return this.creationTime;
        }
    
        @Override
        public long lastModified() {
            return this.lastWriteTime;
        }
    
        @Override
        public long lastAccess() {
            return this.lastAccessTime;
        }
    
        @Override
        public long length() {
            return this.endOfFile;
        }
    
        /**
         * Gets the offset to the next entry.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

            public long createTime() {
                return 0L;
            }
    
            @Override
            public long lastModified() {
                return 0L;
            }
    
            @Override
            public long lastAccess() {
                return 0L;
            }
    
            @Override
            public long length() {
                return 0L;
            }
    
            @Override
            public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            public long createTime() {
                return 0;
            }
    
            @Override
            public long lastModified() {
                return 0;
            }
    
            @Override
            public long lastAccess() {
                return 0;
            }
    
            @Override
            public long length() {
                return 0;
            }
    
            @Override
            public int getFileIndex() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

            public long createTime() {
                return 0;
            }
    
            @Override
            public long lastModified() {
                return 0;
            }
    
            @Override
            public long lastAccess() {
                return 0;
            }
    
            @Override
            public long length() {
                return 0;
            }
    
            @Override
            public int getFileIndex() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                    return 0;
                }
    
                @Override
                public long lastModified() {
                    return 0;
                }
    
                @Override
                public long lastAccess() {
                    return 0;
                }
    
                @Override
                public long length() {
                    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