org.relique.io
Class EncryptedFileInputStream
java.lang.Object
java.io.InputStream
org.relique.io.EncryptedFileInputStream
- All Implemented Interfaces:
- Closeable
public class EncryptedFileInputStream
- extends InputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptedFileInputStream
public EncryptedFileInputStream(String fileName,
CryptoFilter filter)
throws FileNotFoundException
- Throws:
FileNotFoundException
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.