author | František Kučera <franta-hg@frantovo.cz> |
Sat Apr 30 12:48:19 2011 +0200 (2011-04-30) | |
changeset 16 | addd255c39c9 |
child 21 | 2f50f9e10a27 |
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 }