- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for toMillis (0.16 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
map.put("name", name); try { map.put("lastModified", new Date(Files.getLastModifiedTime(filePath).toMillis())); } catch (final IOException e) { throw new IORuntimeException(e); } logFileItems.add(map); });
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
@Override public FileVisitResult visitFile(final Path file, final BasicFileAttributes attrs) throws IOException { if (ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - Files.getLastModifiedTime(file).toMillis() > expiry) { deletedFileList.add(file); if (deletedFileList.size() > maxPurgeSize) { deleteFiles(); } }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 21.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
final Path path = Paths.get(LaServletContextUtil.getServletContext().getRealPath(key)); if (Files.isRegularFile(path)) { return Files.getLastModifiedTime(path).toMillis(); } } catch (final Exception e) { logger.debug("Failed to access {}", key, e); } return 0L; }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 16.9K bytes - Viewed (0)