org.relique.io
Class EncryptedFileInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.relique.io.EncryptedFileInputStream
All Implemented Interfaces:
Closeable

public class EncryptedFileInputStream
extends InputStream


Constructor Summary
EncryptedFileInputStream(String fileName, CryptoFilter filter)
           
 
Method Summary
 void close()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 int read(InputStream in, byte[] b)
           
 
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
 

Constructor Detail

EncryptedFileInputStream

public EncryptedFileInputStream(String fileName,
                                CryptoFilter filter)
                         throws FileNotFoundException
Throws:
FileNotFoundException
Method Detail

read

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

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Overrides:
read in class InputStream
Throws:
IOException

read

public int read(InputStream in,
                byte[] b)
         throws IOException
Throws:
IOException

close

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


Copyright © 2016. All rights reserved.