cz.polous.andaria
Class J7zipRandomAccessFile

java.lang.Object
  extended by java.io.InputStream
      extended by SevenZip.IInStream
          extended by cz.polous.andaria.J7zipRandomAccessFile
All Implemented Interfaces:
java.io.Closeable

public class J7zipRandomAccessFile
extends SevenZip.IInStream


Field Summary
(package private)  java.io.RandomAccessFile _file
           
 
Fields inherited from class SevenZip.IInStream
STREAM_SEEK_CUR, STREAM_SEEK_SET
 
Constructor Summary
J7zipRandomAccessFile(java.lang.String filename, java.lang.String mode)
           
 
Method Summary
 void close()
           
 int read()
           
 int read(byte[] data, int size)
           
 int read(byte[] data, int off, int size)
           
 long Seek(long offset, int seekOrigin)
           
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_file

java.io.RandomAccessFile _file
Constructor Detail

J7zipRandomAccessFile

J7zipRandomAccessFile(java.lang.String filename,
                      java.lang.String mode)
                throws java.io.IOException
Throws:
java.io.IOException
Method Detail

Seek

public long Seek(long offset,
                 int seekOrigin)
          throws java.io.IOException
Specified by:
Seek in class SevenZip.IInStream
Throws:
java.io.IOException

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

read

public int read(byte[] data,
                int off,
                int size)
         throws java.io.IOException
Overrides:
read in class java.io.InputStream
Throws:
java.io.IOException

read

public int read(byte[] data,
                int size)
         throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream
Throws:
java.io.IOException