diff options
Diffstat (limited to 'dslog/Versioned.java')
-rw-r--r-- | dslog/Versioned.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dslog/Versioned.java b/dslog/Versioned.java new file mode 100644 index 0000000..1bed0f5 --- /dev/null +++ b/dslog/Versioned.java @@ -0,0 +1,12 @@ +package dslog; + +import java.io.IOException; +import java.io.Closeable; + +interface Versioned extends Closeable { + public int version() throws IOException; + + public static interface Supplier { + public Versioned get() throws IOException; + } +} |