com.github.junrar.vfs2.provider.rar
Class VFSVolume
java.lang.Object
com.github.junrar.vfs2.provider.rar.VFSVolume
- All Implemented Interfaces:
- Volume
public class VFSVolume
- extends Object
- implements Volume
- Author:
- Rogiel
|
Constructor Summary |
VFSVolume(Archive archive,
org.apache.commons.vfs2.FileObject file)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VFSVolume
public VFSVolume(Archive archive,
org.apache.commons.vfs2.FileObject file)
- Parameters:
archive - firstVolume -
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 org.apache.commons.vfs2.FileObject getFile()
- Returns:
- the file
Copyright © 2012. All Rights Reserved.