Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for getLastModified (0.74 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: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                    responseData = client.execute(RequestDataBuilder.newRequestData().head().url(urlQueue.getUrl()).build());
                    if (responseData != null && responseData.getLastModified() != null
                            && responseData.getLastModified().getTime() <= urlQueue.getLastModified().longValue()
                            && responseData.getHttpStatusCode() == 200) {
                        log(logHelper, LogType.NOT_MODIFIED, crawlerContext, urlQueue);
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

            this.createTime = createTime;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#getLastModified()
         */
        @Override
        public Long getLastModified() {
            return lastModified;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#setLastModified(java.sql.Long)
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                    return null;
                }
            }
    
            @Override
            public long getDate() {
                return getLastModified();
            }
    
            @Override
            public long getLastModified() {
                if (minioClient == null) {
                    return 0;
                }
                try {
                    return getStatObject().lastModified().toEpochSecond();
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueue.java

        void setEncoding(String encoding);
    
        String getParentUrl();
    
        void setParentUrl(String parentUrl);
    
        Integer getDepth();
    
        void setDepth(Integer depth);
    
        Long getLastModified();
    
        void setLastModified(Long lastModified);
    
        Long getCreateTime();
    
        void setCreateTime(Long createTime);
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. 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: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResult.java

        void setAccessResultData(AccessResultData<IDTYPE> accessResultData);
    
        Long getContentLength();
    
        void setContentLength(Long contentLength);
    
        Long getLastModified();
    
        void setLastModified(Long lastModified);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/DefaultFileCopyDetails.java

            }
        }
    
        @Override
        public boolean isDirectory() {
            return fileDetails.isDirectory();
        }
    
        @Override
        public long getLastModified() {
            return fileDetails.getLastModified();
        }
    
        @Override
        public long getSize() {
            if (filterChain.hasFilters()) {
                ByteCountingOutputStream outputStream = new ByteCountingOutputStream();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/fingerprint/impl/PatternSetSnapshottingFilter.java

            }
    
            @Override
            public boolean isDirectory() {
                return snapshot.getType() == FileType.Directory;
            }
    
            @Override
            public long getLastModified() {
                return getFile().lastModified();
            }
    
            @Override
            public long getSize() {
                return getFile().length();
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/UnauthorizedFileVisitDetails.java

        public File getFile() {
            return file;
        }
    
        @Override
        public boolean isDirectory() {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public long getLastModified() {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public long getSize() {
            throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 10:41:40 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top