Changeset 31005


Ignore:
Timestamp:
2016-10-31T09:16:16+13:00 (6 years ago)
Author:
davidb
Message:

Reversal of Base class in PerVolumeJSON

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/solr-extracted-features/trunk/src/main/java/org/hathitrust/extractedfeatures/PerVolumeJSON.java

    r31003 r31005  
    2828
    2929
    30 public class PerVolumeJSON extends BasePerJSON implements VoidFunction<String>
     30public class PerVolumeJSON implements VoidFunction<String>
    3131{
    3232    private static final long serialVersionUID = 1L;
     33    protected String _input_dir;
     34    protected String _solr_url;
     35    protected String _output_dir;
     36    protected int    _verbosity;
    3337   
    34     public PerVolumeJSON()
     38    protected DoubleAccumulator _progress_accum;
     39    protected double            _progress_step;
     40   
     41    public PerVolumeJSON(String input_dir, String solr_url, String output_dir, int verbosity,
     42                         DoubleAccumulator progress_accum, double progress_step)
    3543    {
    36         super();
     44        _input_dir  = input_dir;
     45        _solr_url   = solr_url;
     46        _output_dir = output_dir;
     47        _verbosity  = verbosity;
     48       
     49        _progress_accum = progress_accum;
     50        _progress_step  = progress_step;
    3751    }
    3852   
    39     public PerVolumeJSON(String input_dir, String solr_url, String output_dir, int verbosity,
    40                          DoubleAccumulator progress_accum, double progress_step)
    41     {
    42         super(input_dir,solr_url,output_dir,verbosity,progress_accum,progress_step);
    43     }
    44        
    4553    //public Iterator<String> call(String json_file_in)
    4654    public void call(String json_file_in)
Note: See TracChangeset for help on using the changeset viewer.