|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.nutch.util.NutchConfiguration
public class NutchConfiguration
Utility to create Hadoop Configuration
s that include Nutch-specific
resources.
Method Summary | |
---|---|
static Configuration |
create()
Create a Configuration for Nutch. |
static Configuration |
createCrawlConfiguration()
Create a {@link Configuration for Nutch invoked with the command line crawl command, i.e. |
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 createCrawlConfiguration()
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |