Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 28 of 28 for setLastModified (0.07 seconds)

  1. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                    if (lastModified == null) {
                        return true;
                    }
                    urlQueue.setLastModified(lastModified.getTime());
                    log(logHelper, LogType.CHECK_LAST_MODIFIED, crawlerContext, urlQueue);
    
                    if (responseData == null) {
                        // head method
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb/SmbFile.java

            try {
                setPathInformation(0, time, 0L, 0L);
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        @Override
        public void setLastModified(final long time) throws SmbException {
            if (this.fileLocator.isRootOrShare()) {
                throw new SmbException("Invalid operation for workgroups, servers, or shares");
            }
    
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/Files.java

       */
      @SuppressWarnings("GoodTime") // reading system time without TimeSource
      public static void touch(File file) throws IOException {
        checkNotNull(file);
        if (!file.createNewFile() && !file.setLastModified(System.currentTimeMillis())) {
          throw new IOException("Unable to update modification time of " + file);
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                }
            }
    
            if (file.isFile()) {
                responseData.setHttpStatusCode(Constants.OK_STATUS_CODE);
                responseData.setCharSet(Constants.UTF_8);
                responseData.setLastModified(file.getTimestamp().getTime());
    
                // check file size
                responseData.setContentLength(file.getSize());
                checkMaxContentLength(responseData);
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 40K bytes
    - Click Count (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc4HttpClient.java

                    if (StringUtil.isNotBlank(value)) {
                        final Date d = parseLastModifiedDate(value);
                        if (d != null) {
                            responseData.setLastModified(d);
                        }
                    }
                }
    
                return responseData;
            } catch (final UnknownHostException e) {
                closeResources(httpRequest, responseData);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 54.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertTrue(originalTime > 0, "File should have a valid timestamp");
    
            // Test setting timestamp 1 hour ago
            long testTime = System.currentTimeMillis() - 3600000;
            file.setLastModified(testTime);
    
            long retrievedTime = file.lastModified();
            // Allow for reasonable precision differences
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 56K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5HttpClient.java

                    if (StringUtil.isNotBlank(value)) {
                        final Date d = parseLastModifiedDate(value);
                        if (d != null) {
                            responseData.setLastModified(d);
                        }
                    }
                }
    
                return responseData;
            } catch (final UnknownHostException e) {
                closeResources(httpRequest, responseData);
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sat Jan 31 12:23:29 GMT 2026
    - 62.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

                responseData.setContentLength(data.length());
                responseData.setExecutionTime(1000L);
                responseData.setHttpStatusCode(200);
                responseData.setLastModified(new Date());
                responseData.setMethod("GET");
                responseData.setMimeType("text/html");
                responseData.setParentUrl("http://fess.codelibs.org/");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 62.9K bytes
    - Click Count (0)
Back to Top