org.apache.poi.hssf.record.crypto
Class Biff8EncryptionKey

java.lang.Object
  extended by org.apache.poi.hssf.record.crypto.Biff8EncryptionKey

public final class Biff8EncryptionKey
extends java.lang.Object


Constructor Summary
Biff8EncryptionKey()
           
 
Method Summary
static java.lang.String getCurrentUserPassword()
           
static void setCurrentUserPassword(java.lang.String password)
          Sets the BIFF8 encryption/decryption password for the current thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Biff8EncryptionKey

public Biff8EncryptionKey()
Method Detail

setCurrentUserPassword

public static void setCurrentUserPassword(java.lang.String password)
Sets the BIFF8 encryption/decryption password for the current thread.

Parameters:
password - pass null to clear user password (and use default)

getCurrentUserPassword

public static java.lang.String getCurrentUserPassword()
Returns:
the BIFF8 encryption/decryption password for the current thread. null if it is currently unset.