com.github.junrar.impl
Class FileVolume
java.lang.Object
com.github.junrar.impl.FileVolume
- All Implemented Interfaces:
- Volume
public class FileVolume
- extends Object
- implements Volume
- Author:
- Rogiel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileVolume
public FileVolume(Archive archive,
File file)
- Parameters:
file -
getReadOnlyAccess
public IReadOnlyAccess getReadOnlyAccess()
throws IOException
- Specified by:
getReadOnlyAccess in interface Volume
- Returns:
- the access
- Throws:
IOException
getLength
public long getLength()
- Specified by:
getLength in interface Volume
- Returns:
- the data length
getArchive
public Archive getArchive()
- Specified by:
getArchive in interface Volume
- Returns:
- the archive this volume belongs to
getFile
public File getFile()
- Returns:
- the file
Copyright © 2012. All Rights Reserved.