WDYSDecrypt
Class WDYSDecryptControl
java.lang.Object
WDYSDecrypt.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WDYSDecryptControl
public WDYSDecryptControl()
- Constructs a new decryption control object.
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.