- Sort Score
- Result 10 results
- Languages All
Results 31 - 39 of 39 for setLastModified (1.37 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java
checkMaxContentLength(responseData); responseData.setHttpStatusCode(Constants.OK_STATUS_CODE); responseData.setCharSet(getCharset()); responseData.setLastModified(headObject.lastModified() == null ? null : Date.from(headObject.lastModified())); responseData.setMimeType(headObject.contentType()); // Add metadata
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 21.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
if (generator.isAvailable()) { if (!generator.generate(entity.getThumbnailId(), outputFile)) { new File(outputFile.getAbsolutePath() + NOIMAGE_FILE_SUFFIX).setLastModified(systemHelper.getCurrentTimeAsLong()); } else { final long interval = fessConfig.getThumbnailGeneratorIntervalAsInteger().longValue(); if (interval > 0) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 27K bytes - Viewed (0) -
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);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 40K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.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);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 53.7K bytes - Viewed (0) -
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); } } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K bytes - Viewed (0) -
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); } } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 20:24:13 UTC 2025 - 32.8K bytes - Viewed (0) -
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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
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 {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* * @param time the last modified time as milliseconds since Jan 1, 1970 * @throws SmbException if an error occurs while setting the last modified time */ public void setLastModified(final long time) throws SmbException { if (getUncPath0().length() == 1) { throw new SmbException("Invalid operation for workgroups, servers, or shares"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0)