Package org.apache.commons.vfs2.util
Class CryptorFactory
java.lang.Object
org.apache.commons.vfs2.util.CryptorFactory
Creates an instance of 
Cryptor.- Since:
- 2.0
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe System property name to identify the Cryptor class to be used.
- 
Method SummaryModifier and TypeMethodDescriptionstatic CryptorGets the Cryptor.static voidsetCryptor(Cryptor cryptor) Allows the Cryptor class to be set programmatically.
- 
Field Details- 
CRYPTOR_CLASSThe System property name to identify the Cryptor class to be used.- See Also:
 
 
- 
- 
Method Details- 
getCryptorGets the Cryptor. If one has not been previously set, create it. The Cryptor class can be set by setting the "org.apache.commons.vfs2.cryptor" System property to the name of the Cryptor class.- Returns:
- The Cryptor.
 
- 
setCryptorAllows the Cryptor class to be set programmatically.- Parameters:
- cryptor- The Cryptor.
 
 
-