annotate src/cachingfilter/CachedPage.java @ 22:b0e75dfe1853
change isSemiprivate to isNew
author |
Franklin Schmidt <fschmidt@gmail.com> |
date |
Sat, 13 Jun 2020 22:59:17 -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 }
|