?? crawlersettings.html
字號:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html#isRefinement()">isRefinement</A></B>()</CODE><BR> Returns true if this settings object is a refinement.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.ListIterator</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html#refinementsIterator()">refinementsIterator</A></B>()</CODE><BR> Get an <code>ListIterator</code> over the refinements for this settings object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html#removeRefinement(java.lang.String)">removeRefinement</A></B>(java.lang.String reference)</CODE><BR> Remove a refinement from this settings object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html#setAudience(java.lang.String)">setAudience</A></B>(java.lang.String name)</CODE><BR> Set the recipient/customer for the crawl job product.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html#setDescription(java.lang.String)">setDescription</A></B>(java.lang.String string)</CODE><BR> Set the description of this CrawlerSettings object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html#setLastSavedTime(java.util.Date)">setLastSavedTime</A></B>(java.util.Date lastSaved)</CODE><BR> Set the time when this CrawlerSettings was last saved to persistent storage.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html#setName(java.lang.String)">setName</A></B>(java.lang.String string)</CODE><BR> Set the name of this CrawlerSettings object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html#setOperator(java.lang.String)">setOperator</A></B>(java.lang.String name)</CODE><BR> Set the operator of this crawl job.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html#setOrganization(java.lang.String)">setOrganization</A></B>(java.lang.String name)</CODE><BR> Set the name of the organization who is running this crawl.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html#setRefinement(boolean)">setRefinement</A></B>(boolean isRefinement)</CODE><BR> Mark this settings object as an refinement.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected java.util.Iterator</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html#topLevelModules()">topLevelModules</A></B>()</CODE><BR> </TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="CrawlerSettings(org.archive.crawler.settings.SettingsHandler, java.lang.String)"><!-- --></A><H3>CrawlerSettings</H3><PRE>public <B>CrawlerSettings</B>(<A HREF="../../../../org/archive/crawler/settings/SettingsHandler.html" title="class in org.archive.crawler.settings">SettingsHandler</A> handler, java.lang.String scope)</PRE><DL><DD>Constructs a new CrawlerSettings object. Application code should not call the constructor directly, but use the methods in SettingsHandler instead.<P><DL><DT><B>Parameters:</B><DD><CODE>handler</CODE> - The SettingsHandler this object belongs to.<DD><CODE>scope</CODE> - The scope of this settings object (ie. host or domain).<DT><B>See Also:</B><DD><A HREF="../../../../org/archive/crawler/settings/SettingsHandler.html#getSettings(java.lang.String)"><CODE>SettingsHandler.getSettings(String)</CODE></A>, <A HREF="../../../../org/archive/crawler/settings/SettingsHandler.html#getSettingsObject(java.lang.String)"><CODE>SettingsHandler.getSettingsObject(String)</CODE></A></DL></DL><HR><A NAME="CrawlerSettings(org.archive.crawler.settings.SettingsHandler, java.lang.String, java.lang.String)"><!-- --></A><H3>CrawlerSettings</H3><PRE>public <B>CrawlerSettings</B>(<A HREF="../../../../org/archive/crawler/settings/SettingsHandler.html" title="class in org.archive.crawler.settings">SettingsHandler</A> handler, java.lang.String scope, java.lang.String refinement)</PRE><DL><DD>Constructs a new CrawlerSettings object which is a refinement of another settings object. Application code should not call the constructor directly, but use the methods in SettingsHandler instead.<P><DL><DT><B>Parameters:</B><DD><CODE>handler</CODE> - The SettingsHandler this object belongs to.<DD><CODE>scope</CODE> - The scope of this settings object (ie. host or domain).<DD><CODE>refinement</CODE> - the name or reference to the refinement.<DT><B>See Also:</B><DD><A HREF="../../../../org/archive/crawler/settings/SettingsHandler.html#getSettings(java.lang.String)"><CODE>SettingsHandler.getSettings(String)</CODE></A>, <A HREF="../../../../org/archive/crawler/settings/SettingsHandler.html#getSettingsObject(java.lang.String)"><CODE>SettingsHandler.getSettingsObject(String)</CODE></A></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public java.lang.String <B>getDescription</B>()</PRE><DL><DD>Get the description of this CrawlerSettings object.<P><DD><DL><DT><B>Returns:</B><DD>the description of this CrawlerSettings object.</DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public java.lang.String <B>getName</B>()</PRE><DL><DD>Get the name of this CrawlerSettings object.<P><DD><DL><DT><B>Returns:</B><DD>the name of this CrawlerSettings object.</DL></DD></DL><HR><A NAME="getOperator()"><!-- --></A><H3>getOperator</H3><PRE>public java.lang.String <B>getOperator</B>()</PRE><DL><DD>Get the name of operator of this crawl from this CrawlerSettings object.<P><DD><DL><DT><B>Returns:</B><DD>the name of this CrawlerSettings object.</DL></DD></DL><HR><A NAME="getOrganization()"><!-- --></A><H3>getOrganization</H3><PRE>public java.lang.String <B>getOrganization</B>()</PRE><DL><DD>Get the name of the organization running this crawl from this CrawlerSettings object.<P><DD><DL><DT><B>Returns:</B><DD>the name of the organization running this crawl.</DL></DD></DL><HR><A NAME="getAudience()"><!-- --></A><H3>getAudience</H3><PRE>public java.lang.String <B>getAudience</B>()</PRE><DL><DD>Get the audience/customer/recipient of the crawl job product from this CrawlerSettings object.<P><DD><DL><DT><B>Returns:</B><DD>the audience/customer/recipient of the crawl job product.</DL></DD></DL><HR><A NAME="getScope()"><!-- --></A><H3>getScope</H3><PRE>public java.lang.String <B>getScope</B>()</PRE><DL><DD>Get the scope of this CrawlerSettings object.<P><DD><DL><DT><B>Returns:</B><DD>the scope of this CrawlerSettings object.</DL></DD></DL><HR><A NAME="setDescription(java.lang.String)"><!-- --></A><H3>setDescription</H3><PRE>public void <B>setDescription</B>(java.lang.String string)</PRE><DL><DD>Set the description of this CrawlerSettings object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>string</CODE> - the description to be set for this CrawlerSettings object.</DL></DD></DL><HR><A NAME="setOperator(java.lang.String)"><!-- --></A><H3>setOperator</H3><PRE>public void <B>setOperator</B>(java.lang.String name)</PRE><DL><DD>Set the operator of this crawl job.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - Operator running this crawl.</DL></DD></DL><HR><A NAME="setOrganization(java.lang.String)"><!-- --></A><H3>setOrganization</H3><PRE>public void <B>setOrganization</B>(java.lang.String name)</PRE><DL><DD>Set the name of the organization who is running this crawl.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - Name of organization running this crawl.</DL></DD></DL><HR><A NAME="setAudience(java.lang.String)"><!-- --></A><H3>setAudience</H3><PRE>public void <B>setAudience</B>(java.lang.String name)</PRE><DL><DD>Set the recipient/customer for the crawl job product.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - Recipient of crawl job product.</DL></DD></DL><HR><A NAME="setName(java.lang.String)"><!-- --></A><H3>setName</H3><PRE>public void <B>setName</B>(java.lang.String string)</PRE><DL><DD>Set the name of this CrawlerSettings object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>string</CODE> - the name to be set for this CrawlerSettings object.</DL></DD></DL><HR><A NAME="getLastSavedTime()"><!-- --></A><H3>getLastSavedTime</H3><PRE>public java.util.Date <B>getLastSavedTime</B>()</PRE>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -