Package org.duracloud.audit.reader.impl
Class AuditLogReaderImpl
java.lang.Object
org.duracloud.audit.reader.impl.AuditLogReaderImpl
- All Implemented Interfaces:
AuditLogReader
- Author:
- Daniel Bernstein Date: Sept. 17, 2014
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAuditLog(String account, String storeId, String spaceId) Returns the audit log as a tsv stream of audit events from first to last.protected StorageProvidervoidinitialize(AuditConfig auditConfig) protected voidwriteToOutputStream(String auditSpaceId, StorageProvider storageProvider, PipedOutputStream os, int count, String contentId)
-
Constructor Details
-
AuditLogReaderImpl
public AuditLogReaderImpl()
-
-
Method Details
-
initialize
- Specified by:
initializein interfaceAuditLogReader
-
getAuditLog
public InputStream getAuditLog(String account, String storeId, String spaceId) throws AuditLogReaderException Description copied from interface:AuditLogReaderReturns the audit log as a tsv stream of audit events from first to last.- Specified by:
getAuditLogin interfaceAuditLogReader- Parameters:
account- The account identifier - ie usually the subdomain of the original request.- Returns:
- Throws:
AuditLogReaderException
-
getStorageProvider
-
writeToOutputStream
protected void writeToOutputStream(String auditSpaceId, StorageProvider storageProvider, PipedOutputStream os, int count, String contentId) throws ContentStoreException, IOException - Throws:
ContentStoreExceptionIOException
-