Class UnRARWorker.InputStreamReadOnlyAccess
- java.lang.Object
-
- com.levigo.jadice.server.archive.worker.UnRARWorker.InputStreamReadOnlyAccess
-
- All Implemented Interfaces:
de.innosystec.unrar.io.IReadOnlyAccess
- Enclosing class:
- UnRARWorker
public static class UnRARWorker.InputStreamReadOnlyAccess extends Object implements de.innosystec.unrar.io.IReadOnlyAccess
Bridge used to provide the interface used by JunRAR.
-
-
Constructor Summary
Constructors Constructor Description InputStreamReadOnlyAccess(com.levigo.jadice.document.io.SeekableInputStream sis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getPosition()
int
readBytes(byte[] buffer, int count)
boolean
setPosition(long pos)
-
-
-
Method Detail
-
getPosition
public long getPosition()
- Specified by:
getPosition
in interfacede.innosystec.unrar.io.IReadOnlyAccess
-
readBytes
public int readBytes(byte[] buffer, int count)
- Specified by:
readBytes
in interfacede.innosystec.unrar.io.IReadOnlyAccess
-
setPosition
public boolean setPosition(long pos)
- Specified by:
setPosition
in interfacede.innosystec.unrar.io.IReadOnlyAccess
-
-