Example usage for org.apache.commons.vfs2.util CryptorFactory getCryptor

List of usage examples for org.apache.commons.vfs2.util CryptorFactory getCryptor

Introduction

In this page you can find the example usage for org.apache.commons.vfs2.util CryptorFactory getCryptor.

Prototype

public static synchronized Cryptor getCryptor() 

Source Link

Document

Return the Cryptor.

Usage

From source file:maspack.fileutil.vfs.EncryptedUserAuthenticator.java

public Cryptor getCryptor() {
    if (myCryptor == null) {
        return new VFSCryptor(CryptorFactory.getCryptor());
    }// ww w.  j  a v  a2s  . c o  m
    return myCryptor;
}