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

📄 mirrorwriterprocessor.lumpystring.html

📁 用JAVA编写的,在做实验的时候留下来的,本来想删的,但是传上来,大家分享吧
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<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="MirrorWriterProcessor.LumpyString(java.lang.String, int, int, int, int, java.util.Map, java.lang.String)"><!-- --></A><H3>MirrorWriterProcessor.LumpyString</H3><PRE><B>MirrorWriterProcessor.LumpyString</B>(java.lang.String&nbsp;str,                                  int&nbsp;beginIndex,                                  int&nbsp;endIndex,                                  int&nbsp;padding,                                  int&nbsp;maxLen,                                  java.util.Map&nbsp;characterMap,                                  java.lang.String&nbsp;dotBegin)</PRE><DL><DD>Creates a LumpyString.<P><DL><DT><B>Parameters:</B><DD><CODE>str</CODE> - the source string<DD><CODE>beginIndex</CODE> - the beginning index, inclusive, of the substring           of str to be used<DD><CODE>endIndex</CODE> - the ending index, exclusive, of the substring           of str to be used<DD><CODE>padding</CODE> - reserve this many additional character positions           before dynamic growth is needed<DD><CODE>maxLen</CODE> - the maximum string length, regardless of the           values of beginIndex, endIndex, and padding<DD><CODE>characterMap</CODE> - maps from characters in the source string           (represented as length-one String values) to replacement String           values (length at least 1).           Each replacement string is treated as one lump.           This is intended to cope with characters that a file system           does not allow.<DD><CODE>dotBegin</CODE> - if non-null, this replaces a '.' at           <code>str[beginIndex]</code><DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if           beginIndex is negative.<DD><CODE>java.lang.IllegalArgumentException</CODE> - if           endIndex is less than beginIndex.<DD><CODE>java.lang.IllegalArgumentException</CODE> - if           padding is negative.<DD><CODE>java.lang.IllegalArgumentException</CODE> - if           maxLen is less than one.<DD><CODE>java.lang.IllegalArgumentException</CODE> - if           characterMap is null.<DD><CODE>java.lang.IllegalArgumentException</CODE> - if           dotBegin is non-null but empty.</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="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Converts this LumpyString to a String.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the current string contents</DL></DD></DL><HR><A NAME="append(java.lang.String)"><!-- --></A><H3>append</H3><PRE>void <B>append</B>(java.lang.String&nbsp;lump)</PRE><DL><DD>Appends one lump to the end of this string.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>lump</CODE> - the lump (substring) to append<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if           lump is null or empty.</DL></DD></DL><HR><A NAME="asStringBuffer()"><!-- --></A><H3>asStringBuffer</H3><PRE>java.lang.StringBuffer <B>asStringBuffer</B>()</PRE><DL><DD>Returns the string as a StringBuffer.           The caller should <em>not</em> modify the return value.<P><DD><DL><DT><B>Returns:</B><DD>the string</DL></DD></DL><HR><A NAME="endsWith(char)"><!-- --></A><H3>endsWith</H3><PRE>boolean <B>endsWith</B>(char&nbsp;ch)</PRE><DL><DD>Tests if this string ends with a character.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>ch</CODE> - the character to test for<DT><B>Returns:</B><DD>true if and only if this string ends with ch</DL></DD></DL><HR><A NAME="prepend(char)"><!-- --></A><H3>prepend</H3><PRE>void <B>prepend</B>(char&nbsp;ch)</PRE><DL><DD>Prepends one character, as a lump, to this string.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>ch</CODE> - the character to prepend</DL></DD></DL><HR><A NAME="length()"><!-- --></A><H3>length</H3><PRE>int <B>length</B>()</PRE><DL><DD>Gets the length of this string.<P><DD><DL><DT><B>Returns:</B><DD>the number of characters in this string</DL></DD></DL><HR><A NAME="trimToMax(int)"><!-- --></A><H3>trimToMax</H3><PRE>void <B>trimToMax</B>(int&nbsp;maxLen)</PRE><DL><DD>If necessary, trims this string to a maximum length.           Any trimming is done by removing one or more complete           lumps from the end of this string.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>maxLen</CODE> - the new maximum length.           After trimming, the actual length of this string will be           at most maxLen.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if           maxLen is negative.</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/MirrorWriterProcessor.LumpyString.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/writer/MirrorWriterProcessor.EndSegment.html" title="class in org.archive.crawler.writer"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/archive/crawler/writer/MirrorWriterProcessor.PathSegment.html" title="class in org.archive.crawler.writer"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?org/archive/crawler/writer/MirrorWriterProcessor.LumpyString.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="MirrorWriterProcessor.LumpyString.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>Copyright &copy; 2003-2006 Internet Archive. All Rights Reserved.</BODY></HTML>

⌨️ 快捷键说明

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