/** * Get the last modified time of a file system object. If the OS/JRE support * symbolic links, the modification time of the link is returned, rather * than that of the link target. * * @param f * a {@link java.io.File} object. * @return last modified time of f * @throws java.io.IOException * @since 3.0 */ public long lastModified(File f) throws IOException { return FileUtils.lastModified(f); }
/** * Get the last modified time of a file system object. If the OS/JRE support * symbolic links, the modification time of the link is returned, rather * than that of the link target. * * @param f * @return last modified time of f * @throws IOException * @since 3.0 */ public long lastModified(File f) throws IOException { return FileUtils.lastModified(f); }
/** * Get the last modified time of a file system object. If the OS/JRE support * symbolic links, the modification time of the link is returned, rather * than that of the link target. * * @param f * a {@link java.io.File} object. * @return last modified time of f * @throws java.io.IOException * @since 3.0 */ public long lastModified(File f) throws IOException { return FileUtils.lastModified(f); }
/** * @param path * @return lastModified attribute for given path * @throws IOException * @deprecated Use * {@link Files#getLastModifiedTime(java.nio.file.Path, java.nio.file.LinkOption...)} * instead */ @Deprecated public static long lastModified(File path) throws IOException { return FileUtils.lastModified(path); }