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

📄 uuri.html

📁 用JAVA编写的,在做实验的时候留下来的,本来想删的,但是传上来,大家分享吧
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html" title="class in org.archive.crawler.settings">CrawlerSettings</A></CODE></FONT></TD><TD><CODE><B>SettingsHandler.</B><B><A HREF="../../../../org/archive/crawler/settings/SettingsHandler.html#getSettings(java.lang.String, org.archive.net.UURI)">getSettings</A></B>(java.lang.String&nbsp;host,            <A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;uuri)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get CrawlerSettings object in effect for a host or domain.</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TH ALIGN="left" COLSPAN="2">Constructors in <A HREF="../../../../org/archive/crawler/settings/package-summary.html">org.archive.crawler.settings</A> with parameters of type <A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../org/archive/crawler/settings/ComplexType.Context.html#ComplexType.Context(org.archive.crawler.settings.CrawlerSettings, org.archive.net.UURI)">ComplexType.Context</A></B>(<A HREF="../../../../org/archive/crawler/settings/CrawlerSettings.html" title="class in org.archive.crawler.settings">CrawlerSettings</A>&nbsp;settings,                    <A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;uri)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<P><A NAME="org.archive.crawler.settings.refinements"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">Uses of <A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A> in <A HREF="../../../../org/archive/crawler/settings/refinements/package-summary.html">org.archive.crawler.settings.refinements</A></FONT></TH></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/archive/crawler/settings/refinements/package-summary.html">org.archive.crawler.settings.refinements</A> with parameters of type <A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>TimespanCriteria.</B><B><A HREF="../../../../org/archive/crawler/settings/refinements/TimespanCriteria.html#isWithinRefinementBounds(org.archive.net.UURI)">isWithinRefinementBounds</A></B>(<A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;uri)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>RegularExpressionCriteria.</B><B><A HREF="../../../../org/archive/crawler/settings/refinements/RegularExpressionCriteria.html#isWithinRefinementBounds(org.archive.net.UURI)">isWithinRefinementBounds</A></B>(<A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;uri)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>PortnumberCriteria.</B><B><A HREF="../../../../org/archive/crawler/settings/refinements/PortnumberCriteria.html#isWithinRefinementBounds(org.archive.net.UURI)">isWithinRefinementBounds</A></B>(<A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;uri)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>Criteria.</B><B><A HREF="../../../../org/archive/crawler/settings/refinements/Criteria.html#isWithinRefinementBounds(org.archive.net.UURI)">isWithinRefinementBounds</A></B>(<A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;uri)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check if a uri is within the bounds of this criteria.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B>Refinement.</B><B><A HREF="../../../../org/archive/crawler/settings/refinements/Refinement.html#isWithinRefinementBounds(org.archive.net.UURI)">isWithinRefinementBounds</A></B>(<A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;uri)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check if a URI is within the bounds of every criteria set for this refinement.</TD></TR></TABLE>&nbsp;<P><A NAME="org.archive.crawler.url"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">Uses of <A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A> in <A HREF="../../../../org/archive/crawler/url/package-summary.html">org.archive.crawler.url</A></FONT></TH></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/archive/crawler/url/package-summary.html">org.archive.crawler.url</A> with parameters of type <A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B>Canonicalizer.</B><B><A HREF="../../../../org/archive/crawler/url/Canonicalizer.html#canonicalize(org.archive.net.UURI, org.archive.crawler.datamodel.CrawlOrder)">canonicalize</A></B>(<A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;uuri,             <A HREF="../../../../org/archive/crawler/datamodel/CrawlOrder.html" title="class in org.archive.crawler.datamodel">CrawlOrder</A>&nbsp;order)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method that is passed a settings object instance pulling from it what it needs to canonicalize.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B>Canonicalizer.</B><B><A HREF="../../../../org/archive/crawler/url/Canonicalizer.html#canonicalize(org.archive.net.UURI, java.util.Iterator)">canonicalize</A></B>(<A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;uuri,             java.util.Iterator&nbsp;rules)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Run the passed uuri through the list of rules.</TD></TR></TABLE>&nbsp;<P><A NAME="org.archive.extractor"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">Uses of <A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A> in <A HREF="../../../../org/archive/extractor/package-summary.html">org.archive.extractor</A></FONT></TH></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TH ALIGN="left" COLSPAN="2">Fields in <A HREF="../../../../org/archive/extractor/package-summary.html">org.archive.extractor</A> declared as <A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A></CODE></FONT></TD><TD><CODE><B>CharSequenceLinkExtractor.</B><B><A HREF="../../../../org/archive/extractor/CharSequenceLinkExtractor.html#base">base</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;<A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A></CODE></FONT></TD><TD><CODE><B>CharSequenceLinkExtractor.</B><B><A HREF="../../../../org/archive/extractor/CharSequenceLinkExtractor.html#source">source</A></B></CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>&nbsp;<P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../org/archive/extractor/package-summary.html">org.archive.extractor</A> with parameters of type <A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B>CharSequenceLinkExtractor.</B><B><A HREF="../../../../org/archive/extractor/CharSequenceLinkExtractor.html#extract(java.lang.CharSequence, org.archive.net.UURI, org.archive.net.UURI, java.util.List, org.archive.extractor.ExtractErrorListener)">extract</A></B>(java.lang.CharSequence&nbsp;content,        <A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;source,        <A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;base,        java.util.List&nbsp;collector,        <A HREF="../../../../org/archive/extractor/ExtractErrorListener.html" title="interface in org.archive.extractor">ExtractErrorListener</A>&nbsp;extractErrorListener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method to do default extraction.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>ExtractErrorListener.</B><B><A HREF="../../../../org/archive/extractor/ExtractErrorListener.html#noteExtractError(java.io.IOException, org.archive.net.UURI, java.lang.CharSequence)">noteExtractError</A></B>(java.io.IOException&nbsp;ex,                 <A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;source,                 java.lang.CharSequence&nbsp;context)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Callback to report an extraction error.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>CharSequenceLinkExtractor.</B><B><A HREF="../../../../org/archive/extractor/CharSequenceLinkExtractor.html#setup(org.archive.net.UURI, java.lang.CharSequence, org.archive.extractor.ExtractErrorListener)">setup</A></B>(<A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;sourceandbase,      java.lang.CharSequence&nbsp;content,      <A HREF="../../../../org/archive/extractor/ExtractErrorListener.html" title="interface in org.archive.extractor">ExtractErrorListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method for when source and base are same.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>LinkExtractor.</B><B><A HREF="../../../../org/archive/extractor/LinkExtractor.html#setup(org.archive.net.UURI, java.io.InputStream, java.nio.charset.Charset, org.archive.extractor.ExtractErrorListener)">setup</A></B>(<A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;sourceandbase,      java.io.InputStream&nbsp;content,      java.nio.charset.Charset&nbsp;charset,      <A HREF="../../../../org/archive/extractor/ExtractErrorListener.html" title="interface in org.archive.extractor">ExtractErrorListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience version of above for common case where source and base are  same.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>CharSequenceLinkExtractor.</B><B><A HREF="../../../../org/archive/extractor/CharSequenceLinkExtractor.html#setup(org.archive.net.UURI, java.io.InputStream, java.nio.charset.Charset, org.archive.extractor.ExtractErrorListener)">setup</A></B>(<A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;sourceandbase,      java.io.InputStream&nbsp;content,      java.nio.charset.Charset&nbsp;charset,      <A HREF="../../../../org/archive/extractor/ExtractErrorListener.html" title="interface in org.archive.extractor">ExtractErrorListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B>CharSequenceLinkExtractor.</B><B><A HREF="../../../../org/archive/extractor/CharSequenceLinkExtractor.html#setup(org.archive.net.UURI, org.archive.net.UURI, java.lang.CharSequence, org.archive.extractor.ExtractErrorListener)">setup</A></B>(<A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;source,      <A HREF="../../../../org/archive/net/UURI.html" title="class in org.archive.net">UURI</A>&nbsp;base,      java.lang.CharSequence&nbsp;content,

⌨️ 快捷键说明

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