Class TabFileUsageEventListener

  • All Implemented Interfaces:
    EventListener

    public class TabFileUsageEventListener
    extends AbstractUsageEventListener
    Serialize UsageEvent data to a file as Tab delimited. In dspace.cfg specify the path to the file as the value of usageEvent.tabFileLogger.file. If that path is not absolute, it will be interpreted as relative to the directory named in log.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 Detail

      • TabFileUsageEventListener

        public TabFileUsageEventListener()
    • Method Detail

      • receiveEvent

        public void receiveEvent​(Event event)