code: public static void addInputPaths(Job job, 
                                     String commaSeparatedPaths
                                     ) throws IOException {
      for (String str : getPathStrings(commaSeparatedPaths)) {
        addInputPath(job, new Path(str));
      }
    }
docs: Add the given comma separated paths to the list of inputs for
  the map-reduce job.
  
  @param job The job to modify
  @param commaSeparatedPaths Comma separated paths to be added to
  the list of inputs for the map-reduce job.