Class StatisticsImporter

    • Constructor Detail

      • StatisticsImporter

        public StatisticsImporter​(boolean local)
        Constructor. Optionally loads local data to replace foreign data if using someone else's log files
        Parameters:
        local - Whether to use local data
    • Method Detail

      • load

        protected void load​(String filename,
                            Context context,
                            boolean verbose)
        Read lines from the statistics file and load their data into solr.
        Parameters:
        filename - The filename of the file to load
        context - The DSpace Context
        verbose - Whether to display verbose output
      • main

        public static void main​(String[] args)
                         throws Exception
        Main method to run the statistics importer.
        Parameters:
        args - the command line arguments given
        Throws:
        Exception - If something goes wrong