Class DataLoader


  • public class DataLoader
    extends java.lang.Object
    Cleans and loads a new OpenBooks database.
    Author:
    Pinaki Poddar
    • Constructor Summary

      Constructors 
      Constructor Description
      DataLoader()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Load data.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DataLoader

        public DataLoader()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Load data.
        Parameters:
        args - 0-th argument is the name of persistence unit 1-st argument is the path to the data file
        Throws:
        java.lang.Exception