@Test public void getLastAccessTime () { long before = System.currentTimeMillis() / 1000; long actual = jarResourceFile.getLastAccessTime(); long after = System.currentTimeMillis() / 1000; assertFalse(before > actual); assertFalse(after < actual); }
@Override public long getLastAccessTime () { return System.currentTimeMillis() / 1000; }
JarResourceFile extends FileSystemFile { @Override public long getLastAccessTime () { return System.currentTimeMillis() / 1000; } }
JarResourceFile extends FileSystemFile { @Override public long getLastAccessTime () { return System.currentTimeMillis() / 1000; } JarResourceFile(Resource resource, boolean isExecutable); }
JarResourceFile extends FileSystemFile { @Override public long getLastAccessTime () { return System.currentTimeMillis() / 1000; } JarResourceFile(Resource resource, boolean isExecutable); @Override boolean isFile(); @Override long getLength(); @Override InputStream getInputStream(); @Override long getLastAccessTime(); @Override long getLastModifiedTime(); @Override int getPermissions(); }
JarResourceFile extends FileSystemFile { @Override public long getLastAccessTime () { return System.currentTimeMillis() / 1000; } JarResourceFile(Resource resource, boolean isExecutable); @Override boolean isFile(); @Override long getLength(); @Override InputStream getInputStream(); @Override long getLastAccessTime(); @Override long getLastModifiedTime(); @Override int getPermissions();  }