Exemple #1
0
 /**
  * Factory method for the default results pruner configuration using dspace.cfg
  *
  * @return a ResultsPruner that represent the default retention policy
  */
 public static ResultsPruner getDefaultPruner(Context context) {
   try {
     return getPruner(context, ConfigurationManager.getProperties());
   } catch (FileNotFoundException e) {
     throw new IllegalStateException("VeryExceptionalException - config file not there! ", e);
   }
 }