⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 credentialstore.html

📁 一个开源的网页爬虫一个开源的网页爬虫一个开源的网页爬虫一个开源的网页爬虫一个开源的网页爬虫一个开源的网页爬虫
💻 HTML
📖 第 1 页 / 共 3 页
字号:
 context.  If null, we use global context.<DT><B>Returns:</B><DD>A map of all credentials from passed context.<DT><B>Throws:</B><DD><CODE>javax.management.AttributeNotFoundException</CODE></DL></DD></DL><HR><A NAME="iterator(java.lang.Object)"><!-- --></A><H3>iterator</H3><PRE>public java.util.Iterator <B>iterator</B>(java.lang.Object&nbsp;context)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../org/archive/crawler/settings/ComplexType.html#iterator(java.lang.Object)">ComplexType</A></CODE></B></DD><DD>Get an Iterator over all the attributes in this ComplexType.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/archive/crawler/settings/ComplexType.html#iterator(java.lang.Object)">iterator</A></CODE> in class <CODE><A HREF="../../../../org/archive/crawler/settings/ComplexType.html" title="class in org.archive.crawler.settings">ComplexType</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - Pass a CrawlURI, CrawlerSettings or UURI.  Used to set context.  If null, we use global context.<DT><B>Returns:</B><DD>An iterator or null.</DL></DD></DL><HR><A NAME="get(java.lang.Object, java.lang.String)"><!-- --></A><H3>get</H3><PRE>public <A HREF="../../../../org/archive/crawler/datamodel/credential/Credential.html" title="class in org.archive.crawler.datamodel.credential">Credential</A> <B>get</B>(java.lang.Object&nbsp;context,                      java.lang.String&nbsp;name)               throws javax.management.AttributeNotFoundException,                      javax.management.MBeanException,                      javax.management.ReflectionException</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - Pass a CrawlURI, CrawlerSettings or UURI.  Used to set context.  If null, we use global context.<DD><CODE>name</CODE> - Name to give the manufactured credential.  Should be unique else the add of the credential to the list of credentials will fail.<DT><B>Returns:</B><DD>Returns <code>name</code>'d credential.<DT><B>Throws:</B><DD><CODE>javax.management.AttributeNotFoundException</CODE><DD><CODE>javax.management.MBeanException</CODE><DD><CODE>javax.management.ReflectionException</CODE></DL></DD></DL><HR><A NAME="create(org.archive.crawler.settings.CrawlerSettings, java.lang.String, java.lang.Class)"><!-- --></A><H3>create</H3><PRE>public <A HREF="../../../../org/archive/crawler/datamodel/credential/Credential.html" title="class in org.archive.crawler.datamodel.credential">Credential</A> <B>create</B>(<A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html" title="class in org.archive.crawler.settings">CrawlerSettings</A>&nbsp;context,                         java.lang.String&nbsp;name,                         java.lang.Class&nbsp;type)                  throws java.lang.IllegalArgumentException,                         java.lang.reflect.InvocationTargetException,                         javax.management.InvalidAttributeValueException,                         javax.management.AttributeNotFoundException</PRE><DL><DD>Create and add to the list a credential of the passed <code>type</code> giving the credential the passed <code>name</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - Pass a CrawlerSettings.  Used to set context.  If null, we use global context.<DD><CODE>name</CODE> - Name to give the manufactured credential.  Should be unique else the add of the credential to the list of credentials will fail.<DD><CODE>type</CODE> - Type of credentials to get.<DT><B>Returns:</B><DD>The credential created and added to the list of credentials.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE><DD><CODE>javax.management.AttributeNotFoundException</CODE><DD><CODE>java.lang.reflect.InvocationTargetException</CODE><DD><CODE>javax.management.InvalidAttributeValueException</CODE></DL></DD></DL><HR><A NAME="remove(org.archive.crawler.settings.CrawlerSettings, org.archive.crawler.datamodel.credential.Credential)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(<A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html" title="class in org.archive.crawler.settings">CrawlerSettings</A>&nbsp;context,                   <A HREF="../../../../org/archive/crawler/datamodel/credential/Credential.html" title="class in org.archive.crawler.datamodel.credential">Credential</A>&nbsp;credential)            throws javax.management.AttributeNotFoundException,                   java.lang.IllegalArgumentException</PRE><DL><DD>Delete the credential <code>name</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - Pass a CrawlerSettings.  Used to set context.  If null, we use global context.<DD><CODE>credential</CODE> - Credential to delete.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE><DD><CODE>javax.management.AttributeNotFoundException</CODE></DL></DD></DL><HR><A NAME="remove(org.archive.crawler.settings.CrawlerSettings, java.lang.String)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(<A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html" title="class in org.archive.crawler.settings">CrawlerSettings</A>&nbsp;context,                   java.lang.String&nbsp;name)            throws java.lang.IllegalArgumentException,                   javax.management.AttributeNotFoundException</PRE><DL><DD>Delete the credential <code>name</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - Pass a CrawlerSettings.  Used to set context.  If null, we use global context.<DD><CODE>name</CODE> - Name of credential to delete.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE><DD><CODE>javax.management.AttributeNotFoundException</CODE></DL></DD></DL><HR><A NAME="subset(org.archive.crawler.datamodel.CrawlURI, java.lang.Class)"><!-- --></A><H3>subset</H3><PRE>public java.util.Set <B>subset</B>(<A HREF="../../../../org/archive/crawler/datamodel/CrawlURI.html" title="class in org.archive.crawler.datamodel">CrawlURI</A>&nbsp;context,                            java.lang.Class&nbsp;type)</PRE><DL><DD>Return set made up of all credentials of the passed <code>type</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - Pass a CrawlURI or a CrawlerSettings.  Used to set context.  If null, we use global context.<DD><CODE>type</CODE> - Type of the list to return.  Type is some superclass of credentials.<DT><B>Returns:</B><DD>Unmodifable sublist of all elements of passed type.</DL></DD></DL><HR><A NAME="subset(org.archive.crawler.datamodel.CrawlURI, java.lang.Class, java.lang.String)"><!-- --></A><H3>subset</H3><PRE>public java.util.Set <B>subset</B>(<A HREF="../../../../org/archive/crawler/datamodel/CrawlURI.html" title="class in org.archive.crawler.datamodel">CrawlURI</A>&nbsp;context,                            java.lang.Class&nbsp;type,                            java.lang.String&nbsp;rootUri)</PRE><DL><DD>Return set made up of all credentials of the passed <code>type</code>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>context</CODE> - Pass a CrawlURI or a CrawlerSettings.  Used to set context.  If null, we use global context.<DD><CODE>type</CODE> - Type of the list to return.  Type is some superclass of credentials.<DD><CODE>rootUri</CODE> - RootUri to match.  May be null.  In this case we return all.  Currently we expect the CrawlServer name to equate to root Uri. Its not.  Currently it doesn't distingush between servers of same name but different ports (e.g. http and https).<DT><B>Returns:</B><DD>Unmodifable sublist of all elements of passed type.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/CredentialStore.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../org/archive/crawler/datamodel/CrawlURI.html" title="class in org.archive.crawler.datamodel"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/archive/crawler/datamodel/FetchStatusCodes.html" title="interface in org.archive.crawler.datamodel"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?org/archive/crawler/datamodel/CredentialStore.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="CredentialStore.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_org.archive.crawler.settings.ComplexType">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright &copy; 2003-2006 Internet Archive. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -