annotate src/cachingfilter/CachedPage.java @ 3:1010f557927f
allow setting salt for backup file
author |
Franklin Schmidt <fschmidt@gmail.com> |
date |
Mon, 25 Mar 2019 18:38:18 -0600 |
parents |
7ecd1a4ef557 |
children |
|
rev |
line source |
0
|
1 package cachingfilter;
|
|
2
|
|
3 import java.io.File;
|
|
4 import java.io.IOException;
|
|
5
|
|
6
|
|
7 interface CachedPage {
|
|
8 public String name();
|
|
9 public boolean exists();
|
|
10 public File lastFile();
|
|
11 public File newFile() throws IOException;
|
|
12 public void deleteNewFile();
|
|
13 public boolean delete();
|
|
14 }
|