Package org.dspace.usage
Class TabFileUsageEventListener
- java.lang.Object
-
- org.dspace.usage.AbstractUsageEventListener
-
- org.dspace.usage.TabFileUsageEventListener
-
- All Implemented Interfaces:
EventListener
public class TabFileUsageEventListener extends AbstractUsageEventListener
SerializeUsageEventdata to a file as Tab delimited. In dspace.cfg specify the path to the file as the value ofusageEvent.tabFileLogger.file. If that path is not absolute, it will be interpreted as relative to the directory named inlog.dir. If no name is configured, it defaults to "usage-events.tsv". If the file is new or empty, a column heading record will be written when the file is opened.- Author:
- Mark H. Wood, Mark Diggory
-
-
Constructor Summary
Constructors Constructor Description TabFileUsageEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreceiveEvent(Event event)-
Methods inherited from class org.dspace.usage.AbstractUsageEventListener
getEventNamePrefixes, getResourcePrefix, setEventService
-
-
-
-
Method Detail
-
receiveEvent
public void receiveEvent(Event event)
-
-