Package co.ecg.alpaca.core.table
Class EncryptedTableWriter
- java.lang.Object
-
- co.ecg.alpaca.core.table.AlpacaTableWriter
-
- co.ecg.alpaca.core.table.AlpacaExcelTableWriter
-
- co.ecg.alpaca.core.table.EncryptedTableWriter
-
public class EncryptedTableWriter extends AlpacaExcelTableWriter
EncryptedTableWriter class.
- Version:
- $Id: $Id
- Author:
- DavidKelley on 9/25/18.
-
-
Constructor Summary
Constructors Constructor Description EncryptedTableWriter(OutputStream outputStream)Constructor for EncryptedTableWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Fileencrypt(File file, String password)encrypt.-
Methods inherited from class co.ecg.alpaca.core.table.AlpacaExcelTableWriter
append, close, flush, getOutputStream, getWorkBook, writeHeaders
-
Methods inherited from class co.ecg.alpaca.core.table.AlpacaTableWriter
addColumn
-
-
-
-
Constructor Detail
-
EncryptedTableWriter
public EncryptedTableWriter(OutputStream outputStream) throws AlpacaException
Constructor for EncryptedTableWriter.
- Parameters:
outputStream- aOutputStreamobject.- Throws:
AlpacaException- if any.
-
-
Method Detail
-
encrypt
public File encrypt(File file, String password) throws IOException
encrypt.
- Parameters:
file- aFileobject.password- aStringobject.- Returns:
- a
Fileobject. - Throws:
IOException- if any.
-
-