public final class EventHarvestUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addConfigurations(javax.servlet.jsp.PageContext context,
I18n i18n,
String eventHarvestName)
Adds a bunch of configurations to a given PartialHarvest.
|
static void |
addConfigurationsFromSeedsFile(javax.servlet.jsp.PageContext context,
I18n i18n,
String eventHarvestName,
File seeds,
String maxbytesString,
String maxobjectsString,
String maxrateString,
String ordertemplate)
Add configurations to an existing selective harvest.
|
public static void addConfigurations(javax.servlet.jsp.PageContext context, I18n i18n, String eventHarvestName)
context
- the current JSP contexti18n
- the translation information to use in this contexteventHarvestName
- The name of the partial harvest to which these seeds are to be addedForwardedToErrorPage
- If maxBytes is not a number, or if any of the seeds is badly formatted such that no
domain name can be parsed from it, or if orderTemplate is not given or unknown.public static void addConfigurationsFromSeedsFile(javax.servlet.jsp.PageContext context, I18n i18n, String eventHarvestName, File seeds, String maxbytesString, String maxobjectsString, String maxrateString, String ordertemplate)
context
- The current JSP contexti18n
- The translation information to use in this contexteventHarvestName
- The name of the partial harvest to which these seeds are to be addedseeds
- The seeds as a file (each seed on a separate line)maxbytesString
- The given maxbytes as a stringmaxobjectsString
- The given maxobjects as a stringmaxrateString
- The given maxrate as a string (currently not used)ordertemplate
- The name of the ordertemplate to useCopyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.