Class CliHandler

java.lang.Object
com.bc.ceres.standalone.CliHandler

public class CliHandler extends Object
Encapsulates the command line arguments handling.
Since:
Ceres 0.13.2
  • Constructor Details

    • CliHandler

      public CliHandler(String[] args)
  • Method Details

    • printUsage

      public void printUsage()
    • fetchTemplateFiles

      public HashMap<String,String> fetchTemplateFiles() throws org.apache.commons.cli.ParseException
      Throws:
      org.apache.commons.cli.ParseException
    • fetchSourceItemFiles

      public HashMap<String,String> fetchSourceItemFiles() throws org.apache.commons.cli.ParseException
      Throws:
      org.apache.commons.cli.ParseException
    • fetchTargetItemFile

      public String fetchTargetItemFile() throws org.apache.commons.cli.ParseException
      Throws:
      org.apache.commons.cli.ParseException
    • fetchGlobalMetadataFiles

      public HashMap<String,String> fetchGlobalMetadataFiles() throws org.apache.commons.cli.ParseException
      Throws:
      org.apache.commons.cli.ParseException
    • fetchArguments

      public String[] fetchArguments() throws org.apache.commons.cli.ParseException
      Throws:
      org.apache.commons.cli.ParseException