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

📄 mirrorwriterprocessor.pathsegment.html

📁 用JAVA编写的,在做实验的时候留下来的,本来想删的,但是传上来,大家分享吧
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="EXISTS_NOT"><!-- --></A><H3>EXISTS_NOT</H3><PRE>protected static final int <B>EXISTS_NOT</B></PRE><DL><DD>existsMaybeCaseSensitive return code           for a file that does not exist.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.archive.crawler.writer.MirrorWriterProcessor.PathSegment.EXISTS_NOT">Constant Field Values</A></DL></DL><HR><A NAME="EXISTS_EXACT_MATCH"><!-- --></A><H3>EXISTS_EXACT_MATCH</H3><PRE>protected static final int <B>EXISTS_EXACT_MATCH</B></PRE><DL><DD>existsMaybeCaseSensitive return code           for a file that exists.           Furthermore, the comparison is case-sensitive.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.archive.crawler.writer.MirrorWriterProcessor.PathSegment.EXISTS_EXACT_MATCH">Constant Field Values</A></DL></DL><HR><A NAME="EXISTS_CASE_INSENSITIVE_MATCH"><!-- --></A><H3>EXISTS_CASE_INSENSITIVE_MATCH</H3><PRE>protected static final int <B>EXISTS_CASE_INSENSITIVE_MATCH</B></PRE><DL><DD>existsMaybeCaseSensitive return code           for a file that exists, using a case-insensitive comparison.           Furthermore, the file would not exist if the comparison           were case-sensitive.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.archive.crawler.writer.MirrorWriterProcessor.PathSegment.EXISTS_CASE_INSENSITIVE_MATCH">Constant Field Values</A></DL></DL><HR><A NAME="curi"><!-- --></A><H3>curi</H3><PRE>protected <A HREF="../../../../org/archive/crawler/datamodel/CrawlURI.html" title="class in org.archive.crawler.datamodel">CrawlURI</A> <B>curi</B></PRE><DL><DD>The URI, for logging and error reporting.<P><DL></DL></DL><HR><A NAME="mainPart"><!-- --></A><H3>mainPart</H3><PRE>protected <A HREF="../../../../org/archive/crawler/writer/MirrorWriterProcessor.LumpyString.html" title="class in org.archive.crawler.writer">MirrorWriterProcessor.LumpyString</A> <B>mainPart</B></PRE><DL><DD>The main part of this segment.           For a directory segment, that's all there is.           For an end segment, it's the part of the URI after the last '/'           up to but not including the '.' before the suffix (if any).<P><DL></DL></DL><HR><A NAME="maxSegLen"><!-- --></A><H3>maxSegLen</H3><PRE>protected int <B>maxSegLen</B></PRE><DL><DD>The maximum number of characters allowed           in one file system path segment.           A URI segment can potentially be much longer,           but we'll trim it to this.<P><DL></DL></DL><!-- ========= 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="MirrorWriterProcessor.PathSegment(int, boolean, org.archive.crawler.datamodel.CrawlURI)"><!-- --></A><H3>MirrorWriterProcessor.PathSegment</H3><PRE><B>MirrorWriterProcessor.PathSegment</B>(int&nbsp;maxSegLen,                                  boolean&nbsp;caseSensitive,                                  <A HREF="../../../../org/archive/crawler/datamodel/CrawlURI.html" title="class in org.archive.crawler.datamodel">CrawlURI</A>&nbsp;curi)</PRE><DL><DD>Creates a new PathSegment.<P><DL><DT><B>Parameters:</B><DD><CODE>maxSegLen</CODE> - the maximum number of characters           allowed in one path segment<DD><CODE>caseSensitive</CODE> - if true, the file system is assumed to be           case-sensitive; otherwise the file system is assumed to be           case-insensitive<DD><CODE>curi</CODE> - the URI<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if           maxSegLen is too small</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="addToPath(org.archive.crawler.writer.MirrorWriterProcessor.URIToFileReturn)"><!-- --></A><H3>addToPath</H3><PRE>abstract void <B>addToPath</B>(<A HREF="../../../../org/archive/crawler/writer/MirrorWriterProcessor.URIToFileReturn.html" title="class in org.archive.crawler.writer">MirrorWriterProcessor.URIToFileReturn</A>&nbsp;currentPath)                 throws java.io.IOException</PRE><DL><DD>Adds this segment to a file path.           This is the key method of this class.           It extends the given path by one segment,           named to obey all constraints.           A new directory is created if necessary.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>currentPath</CODE> - the current path, to which this segment is added<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if a needed directory could not be created<DD><CODE>java.io.IOException</CODE> - if a needed directory is not writeable</DL></DD></DL><HR><A NAME="existsMaybeCaseSensitive(java.io.File, java.lang.String, java.io.File)"><!-- --></A><H3>existsMaybeCaseSensitive</H3><PRE>protected int <B>existsMaybeCaseSensitive</B>(java.io.File&nbsp;fsf,                                       java.lang.String&nbsp;segStr,                                       java.io.File&nbsp;check)</PRE><DL><DD>Checks if a file (including directories) exists.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>fsf</CODE> - the directory containing the file to be checked<DD><CODE>segStr</CODE> - the simple file or directory name<DD><CODE>check</CODE> - the file or directory for which to check<DT><B>Returns:</B><DD>EXISTS_NOT if check does not exist,           EXISTS_EXACT_MATCH if check exists with a name that matches           (case-sensitive) segStr, and           EXISTS_CASE_INSENSITIVE_MATCH if check exists           with a name that matches           segStr using a case-insensitive match but not using a           case-sensitive match</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.PathSegment.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.LumpyString.html" title="class in org.archive.crawler.writer"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/archive/crawler/writer/MirrorWriterProcessor.PathSegment.CaseInsensitiveFilenameFilter.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.PathSegment.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="MirrorWriterProcessor.PathSegment.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_class_summary">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 + -