Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getLastModified (0.08 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

                path = "/" + path.replace('\\', '/');
            }
            final ResponseData responseData = fsClient.doHead("file:" + path);
            assertNotNull(responseData.getLastModified());
            assertTrue(responseData.getLastModified().getTime() < new Date().getTime());
            assertNull(responseData.getResponseBody());
        }
    
        public void test_doHead_dir() throws Exception {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

                ftpClient.setInitParameterMap(params);
                final ResponseData responseData = ftpClient.doHead("ftp://localhost:" + FTP_PORT + "/text1.txt");
                assertNotNull(responseData.getLastModified());
                assertTrue(responseData.getLastModified().getTime() < new Date().getTime());
                assertNull(responseData.getResponseBody());
            } finally {
                if (server != null) {
                    server.stop();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 18K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            final String url = "http://localhost:7070/";
            try {
                final ResponseData responseData = httpClient.doHead(url);
                assertNotNull(responseData.getLastModified());
                assertTrue(responseData.getLastModified().getTime() < new Date().getTime());
            } finally {
                server.stop();
            }
        }
    
        public void test_doGet_accessTimeoutTarget() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            assertNotNull(fileInfo);
            assertEquals(childName, fileInfo.getName());
            assertEquals(size, fileInfo.getSize());
            assertEquals(lastModified, fileInfo.getLastModified());
            assertEquals(isDirectory, fileInfo.isDirectory());
            assertEquals(attributes, fileInfo.getAttributes());
            assertEquals(creationTime, fileInfo.getCreationTime());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

                return size;
            }
    
            /**
             * Gets the last modification timestamp of this cached item
             * @return the last modified time
             */
            public long getLastModified() {
                return lastModified;
            }
    
            /**
             * Checks if this cached item represents a directory
             * @return true if this is a directory
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

                return 100;
            }
    
            @Override
            public Long getContentLength() {
                return 1000L;
            }
    
            @Override
            public Long getLastModified() {
                return System.currentTimeMillis();
            }
    
            @Override
            public void setLastModified(Long lastModified) {
                // Do nothing in test
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

         *
         * @return the last modified data as milliseconds since Jan 1, 1970
         */
        @Override
        public long getLastModified() {
            try {
                return lastModified();
            } catch (final SmbException se) {
                log.debug("getLastModified", se);
            }
            return 0L;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

        /**
         * Set the last modified time of the file. The time is specified as milliseconds
         * from Jan 1, 1970 which is the same as that which is returned by the
         * {@code lastModified()}, {@code getLastModified()}, and {@code getDate()} methods.
         *
         * This method does not apply to workgroups, servers, or shares.
         *
         * @param time the last modified time as milliseconds since Jan 1, 1970
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top