WDYSDecrypt
Class WDYSDecryptControl

java.lang.Object
  extended byWDYSDecrypt.WDYSDecryptControl

public class WDYSDecryptControl
extends Object

This class controls the decryption process. It makes sure the file is read in and fed to the decrypting object, and makes sure the decrypted file is written afterwards.

Version:
1
Author:
Berend "Kirk" Wouda
See Also:
WDYSDecrypter, WDYSEncryptedFileReader, WDYSDecryptedFileWriter

Constructor Summary
WDYSDecryptControl()
          Constructs a new decryption control object.
 
Method Summary
 void decrypt(String filename1, String filename2)
          Decrypts the given file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WDYSDecryptControl

public WDYSDecryptControl()
Constructs a new decryption control object.

Method Detail

decrypt

public void decrypt(String filename1,
                    String filename2)
             throws IOException,
                    WDYSDecryptException
Decrypts the given file.

Parameters:
filename1 - The name of the file to be read from (and decrypted).
filename2 - The name of the file to be written to.
Throws:
IOException - When IO stuff goes wrong.
WDYSDecryptException - When decrypt stuff goes wrong.