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

📄 urltreenode.html

📁 不错的网络蜘蛛
💻 HTML
📖 第 1 页 / 共 2 页
字号:
UrlTreeNode</H3>
<PRE>
public <B>UrlTreeNode</B>(java.net.URL&nbsp;aurl)</PRE>
<DL>
<DD>Creates a new instance of UrlTreeNode
<P>
<DT><B>Parameters:</B><DD><CODE>aurl</CODE> - url of the web page</DL>
<HR>

<A NAME="UrlTreeNode(java.lang.String)"><!-- --></A><H3>
UrlTreeNode</H3>
<PRE>
public <B>UrlTreeNode</B>(java.lang.String&nbsp;atext)</PRE>
<DL>
<DD>Creates a new instance of UrlTreeNode
<P>
<DT><B>Parameters:</B><DD><CODE>atext</CODE> - text for the node</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>return url string for display on screen
<P>
<DD><DL>
<DT><B>Returns:</B><DD>String representation of the object</DL>
</DD>
</DL>
<HR>

<A NAME="getKeywords()"><!-- --></A><H3>
getKeywords</H3>
<PRE>
public java.lang.String <B>getKeywords</B>()</PRE>
<DL>
<DD>get the keywords found in this node
<P>
<DD><DL>
<DT><B>Returns:</B><DD>all keywords in this node as a single comma separated string</DL>
</DD>
</DL>
<HR>

<A NAME="isMatch()"><!-- --></A><H3>
isMatch</H3>
<PRE>
public boolean <B>isMatch</B>()</PRE>
<DL>
<DD>return state of node
<P>
<DD><DL>
<DT><B>Returns:</B><DD>true if node matched search criteria</DL>
</DD>
</DL>
<HR>

<A NAME="getUrl()"><!-- --></A><H3>
getUrl</H3>
<PRE>
public java.net.URL <B>getUrl</B>()</PRE>
<DL>
<DD>returns the url object for this node or null if it is a text node
<P>
<DD><DL>
<DT><B>Returns:</B><DD>url of the node or null</DL>
</DD>
</DL>
<HR>

<A NAME="setMatch(java.lang.String)"><!-- --></A><H3>
setMatch</H3>
<PRE>
public void <B>setMatch</B>(java.lang.String&nbsp;keyword)</PRE>
<DL>
<DD>returns whether or not this node contains a match for the spiders search criteria
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>keyword</CODE> - keyword found in web site.</DL>
</DD>
</DL>
<HR>

<A NAME="setBase(java.lang.String)"><!-- --></A><H3>
setBase</H3>
<PRE>
public void <B>setBase</B>(java.lang.String&nbsp;abase)</PRE>
<DL>
<DD>sets the base location for the node, called in response to finding a base tag in the web page
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>abase</CODE> - base url to use for relative addressing</DL>
</DD>
</DL>
<HR>

<A NAME="getBase()"><!-- --></A><H3>
getBase</H3>
<PRE>
public java.net.URL <B>getBase</B>()</PRE>
<DL>
<DD>returns base url
<P>
<DD><DL>
<DT><B>Returns:</B><DD>base url</DL>
</DD>
</DL>
<HR>

<A NAME="setTitle(java.lang.String)"><!-- --></A><H3>
setTitle</H3>
<PRE>
public void <B>setTitle</B>(java.lang.String&nbsp;atitle)</PRE>
<DL>
<DD>sets the title attribute of the node
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>atitle</CODE> - title of web page from <TITLE> tag</DL>
</DD>
</DL>
<HR>

<A NAME="equals(java.lang.String)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(java.lang.String&nbsp;urlstr)</PRE>
<DL>
<DD>test for equality
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>urlstr</CODE> - string containing url to compare<DT><B>Returns:</B><DD>true if it is the same page</DL>
</DD>
</DL>
<HR>

<A NAME="addChars(int)"><!-- --></A><H3>
addChars</H3>
<PRE>
public void <B>addChars</B>(int&nbsp;n)</PRE>
<DL>
<DD>Increments character count
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>n</CODE> - number of characters to add</DL>
</DD>
</DL>
<HR>

<A NAME="addLinks(int)"><!-- --></A><H3>
addLinks</H3>
<PRE>
public void <B>addLinks</B>(int&nbsp;n)</PRE>
<DL>
<DD>Increments link count
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>n</CODE> - number of linkss to add</DL>
</DD>
</DL>
<HR>

<A NAME="addImages(int)"><!-- --></A><H3>
addImages</H3>
<PRE>
public void <B>addImages</B>(int&nbsp;n)</PRE>
<DL>
<DD>Increments image count
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>n</CODE> - number of images to add</DL>
</DD>
</DL>
<HR>

<A NAME="getNodeStats()"><!-- --></A><H3>
getNodeStats</H3>
<PRE>
public java.lang.String <B>getNodeStats</B>()</PRE>
<DL>
<DD>retrieves character, link, and image count as a displayable string
<P>
<DD><DL>
<DT><B>Returns:</B><DD>pages statistics</DL>
</DD>
</DL>
<HR>

<A NAME="getUrlString()"><!-- --></A><H3>
getUrlString</H3>
<PRE>
public java.lang.String <B>getUrlString</B>()</PRE>
<DL>
<DD>retrieves the url as a string
<P>
<DD><DL>
<DT><B>Returns:</B><DD>url</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=3 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">      <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-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="UrlNodeRenderer.html" title="class in "><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="VerifierListener.html" title="interface in "><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="UrlTreeNode.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;NESTED&nbsp;|&nbsp;FIELD&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;FIELD&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>

</BODY>
</HTML>

⌨️ 快捷键说明

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