diff options
author | Andrew Dolgov <[email protected]> | 2014-10-16 23:34:20 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2014-10-16 23:34:20 +0400 |
commit | 124f869faae3a0f75a3825e6a8e195c17f3c626a (patch) | |
tree | 4a6f120195b60673994cfd78b6d0002bd1020bea /org.fox.ttcomics/src/main/java/com/github/junrar/Volume.java | |
parent | bc10c74406c0e8a16c40dbfcd30a138d441dd859 (diff) |
initial for idea
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.java | 44 |
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(); +} |