|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.nutch.util.NutchConfiguration
public class NutchConfiguration
Utility to create Hadoop Configurations that include Nutch-specific
resources.
| Method Summary | |
|---|---|
static Configuration |
addNutchResources(Configuration conf)
Add the standard Nutch resources to Configuration. |
static Configuration |
create()
Create a Configuration for Nutch. |
static Configuration |
get(javax.servlet.ServletContext application)
Create a Configuration for Nutch front-end. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Configuration create()
Configuration for Nutch.
public static Configuration get(javax.servlet.ServletContext application)
Configuration for Nutch front-end.
If a Configuration is found in the
ServletContext it is simply returned, otherwise,
a new Configuration is created using the create() method,
and then all the init parameters found in the
ServletContext are added to the Configuration
(the created Configuration is then saved into the
ServletContext).
application - is the ServletContext whose init parameters
must override those of Nutch.public static Configuration addNutchResources(Configuration conf)
Configuration.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||