Package gr.ekt.bteio.generators

Examples of gr.ekt.bteio.generators.DSpaceOutputGenerator


        if (dataLoader!=null){
            System.out.println("INFO: Dataloader " + dataLoader.toString()+" will be used for the import!");

          te.setDataLoader(dataLoader);

          DSpaceOutputGenerator outputGenerator = new DSpaceOutputGenerator(outputMap);
          outputGenerator.setOutputDirectory(outputFolder);

          te.setOutputGenerator(outputGenerator);

          try {
            TransformationResult res = te.transform(new TransformationSpec());
            List<String> output = res.getOutput();
            outputGenerator.writeOutput(output);
          } catch (Exception e) {
            System.err.println("Exception");
            e.printStackTrace();
            throw e;
          }
View Full Code Here

TOP

Related Classes of gr.ekt.bteio.generators.DSpaceOutputGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.