summaryrefslogtreecommitdiff
path: root/org.fox.ttcomics/src/main/java/com/github/junrar/Volume.java
diff options
context:
space:
mode:
Diffstat (limited to 'org.fox.ttcomics/src/main/java/com/github/junrar/Volume.java')
-rw-r--r--org.fox.ttcomics/src/main/java/com/github/junrar/Volume.java44
1 files changed, 44 insertions, 0 deletions
diff --git a/org.fox.ttcomics/src/main/java/com/github/junrar/Volume.java b/org.fox.ttcomics/src/main/java/com/github/junrar/Volume.java
new file mode 100644
index 0000000..edc17ae
--- /dev/null
+++ b/org.fox.ttcomics/src/main/java/com/github/junrar/Volume.java
@@ -0,0 +1,44 @@
+/*
+ * This file is part of seedbox <github.com/seedbox>.
+ *
+ * seedbox is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * seedbox is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with seedbox. If not, see <http://www.gnu.org/licenses/>.
+ */
+package com.github.junrar;
+
+import java.io.IOException;
+
+import com.github.junrar.io.IReadOnlyAccess;
+
+
+/**
+ * @author <a href="http://www.rogiel.com">Rogiel</a>
+ *
+ */
+public interface Volume {
+ /**
+ * @return the access
+ * @throws IOException
+ */
+ IReadOnlyAccess getReadOnlyAccess() throws IOException;
+
+ /**
+ * @return the data length
+ */
+ long getLength();
+
+ /**
+ * @return the archive this volume belongs to
+ */
+ Archive getArchive();
+}