Java Folder Read getFilesModDate(String path)

Here you can find the source of getFilesModDate(String path)

Description

get Files Mod Date

License

Open Source License

Declaration

public static Long getFilesModDate(String path) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.io.File;

public class Main {
    public static Long getFilesModDate(String path) {
        File file = new File(path);
        return file.lastModified();
    }/* ww w  .j a va 2  s  .  c  o  m*/
}

Related

  1. getFilesIncludeSubdirectories(final File directory)
  2. getFilesInFolder(File dir)
  3. getFilesInFolder(final String pathToFolder, final String suffix)
  4. getFilesInFolderByRegex(File folder, final String regex)
  5. getFilesMatchingRegexp(final File directory, final String regexp)
  6. getFilesOf(File dir)
  7. getFilesOfDirectory(File directory)
  8. getFilesOfTypeInDirectory(File directory, String filetype)
  9. getFilesRegex(final File root, final String[] regex)