author | František Kučera <franta-hg@frantovo.cz> |
Wed Jul 06 23:14:15 2011 +0200 (2011-07-06) | |
changeset 25 | 0d84061c9878 |
parent 6 | 801a8935caf7 |
child 27 | 037a9f20bf3a |
permissions | -rw-r--r-- |
1 package cz.frantovo.xmlWebGenerator;
3 import java.io.File;
4 import java.util.Date;
5 import java.net.URI;
6 import java.net.URISyntaxException;
8 public class Funkce {
9 public static Date posledníZměna(String soubor) throws URISyntaxException {
10 return new Date(new File(new URI(soubor)).lastModified());
11 }
12 }