diff options
Diffstat (limited to 'src/com/github/junrar/UnrarCallback.java')
-rw-r--r-- | src/com/github/junrar/UnrarCallback.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/com/github/junrar/UnrarCallback.java b/src/com/github/junrar/UnrarCallback.java new file mode 100644 index 0000000..06bc088 --- /dev/null +++ b/src/com/github/junrar/UnrarCallback.java @@ -0,0 +1,21 @@ +package com.github.junrar;
+
+
+/**
+ *
+ * @author alban
+ */
+public interface UnrarCallback {
+
+ /**
+ * Return <tt>true</tt> if the next volume is ready to be processed,
+ * <tt>false</tt> otherwise.
+ */
+ boolean isNextVolumeReady(Volume nextVolume);
+
+ /**
+ * This method is invoked each time the progress of the current
+ * volume changes.
+ */
+ void volumeProgressChanged(long current, long total);
+}
|