public interface AuditEventFactory
This interface defines the methods that need to be provided by a factory class that creates audit-event instances. The use of different implementations of this factory interface may improve performance.
| Modifier and Type | Field and Description |
|---|---|
static String |
AUDIT_EVENT_FACTORY_CLASS
This is the system property to define the class which shall be used by readers
|
| Modifier and Type | Method and Description |
|---|---|
AuditEvent |
createAuditEvent(String[] sectionData,
AuditEventType type)
Creates a new audit-event instance from the given section strings.
|
AuditEvent |
createAuditEvent(String id,
String[] data,
File f,
long off,
long size,
AuditEventType type) |
static final String AUDIT_EVENT_FACTORY_CLASS
AuditEvent createAuditEvent(String[] sectionData, AuditEventType type) throws ParseException
sectionData - The data strings of the sections.In - case an error occurs while creating/parsing the sections.ParseExceptionAuditEvent createAuditEvent(String id, String[] data, File f, long off, long size, AuditEventType type) throws ParseException
ParseExceptionCopyright © 2015 jwall.org. All Rights Reserved.