org.relique.io
Class EncryptedFileOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.relique.io.EncryptedFileOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class EncryptedFileOutputStream
extends OutputStream


Constructor Summary
EncryptedFileOutputStream(String fileName, CryptoFilter filter)
           
 
Method Summary
 void close()
           
 void write(int b)
           
 
Methods inherited from class java.io.OutputStream
flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptedFileOutputStream

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

write

public void write(int b)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException

close

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


Copyright © 2016. All rights reserved.