?? arcreaderfactory.html
字號:
<BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../org/archive/io/ArchiveReader.html" title="class in org.archive.io">ArchiveReader</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/io/arc/ARCReaderFactory.html#getArchiveReader(java.io.File, long)">getArchiveReader</A></B>(java.io.File f, long offset)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected <A HREF="../../../../org/archive/io/ArchiveReader.html" title="class in org.archive.io">ArchiveReader</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/io/arc/ARCReaderFactory.html#getArchiveReader(java.lang.String, java.io.InputStream, boolean)">getArchiveReader</A></B>(java.lang.String arc, java.io.InputStream is, boolean atFirstRecord)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/io/arc/ARCReaderFactory.html#isARCSuffix(java.lang.String)">isARCSuffix</A></B>(java.lang.String arcName)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/io/arc/ARCReaderFactory.html#isCompressed(java.io.File)">isCompressed</A></B>(java.io.File arcFile)</CODE><BR> </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/io/arc/ARCReaderFactory.html#testCompressedARCFile(java.io.File)">testCompressedARCFile</A></B>(java.io.File arcFile)</CODE><BR> Check file is compressed and in ARC GZIP format.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/io/arc/ARCReaderFactory.html#testCompressedARCFile(java.io.File, boolean)">testCompressedARCFile</A></B>(java.io.File arcFile, boolean skipSuffixCheck)</CODE><BR> Check file is compressed and in ARC GZIP format.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/archive/io/arc/ARCReaderFactory.html#testCompressedARCStream(java.io.InputStream)">testCompressedARCStream</A></B>(java.io.InputStream is)</CODE><BR> Tests passed stream is gzip stream by reading in the HEAD.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.archive.io.ArchiveReaderFactory"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class org.archive.io.<A HREF="../../../../org/archive/io/ArchiveReaderFactory.html" title="class in org.archive.io">ArchiveReaderFactory</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/archive/io/ArchiveReaderFactory.html#addUserAgent(java.net.HttpURLConnection)">addUserAgent</A>, <A HREF="../../../../org/archive/io/ArchiveReaderFactory.html#asRepositionable(java.io.InputStream)">asRepositionable</A>, <A HREF="../../../../org/archive/io/ArchiveReaderFactory.html#getArchiveReader(java.io.File)">getArchiveReader</A>, <A HREF="../../../../org/archive/io/ArchiveReaderFactory.html#getArchiveReader(java.lang.String)">getArchiveReader</A>, <A HREF="../../../../org/archive/io/ArchiveReaderFactory.html#getArchiveReader(java.lang.String, long)">getArchiveReader</A>, <A HREF="../../../../org/archive/io/ArchiveReaderFactory.html#getArchiveReader(java.net.URL)">getArchiveReader</A>, <A HREF="../../../../org/archive/io/ArchiveReaderFactory.html#getArchiveReader(java.net.URL, long)">getArchiveReader</A>, <A HREF="../../../../org/archive/io/ArchiveReaderFactory.html#makeARCLocal(java.net.URLConnection)">makeARCLocal</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= 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="ARCReaderFactory()"><!-- --></A><H3>ARCReaderFactory</H3><PRE>protected <B>ARCReaderFactory</B>()</PRE><DL><DD>Shutdown any access to default constructor.<P></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="get(java.lang.String)"><!-- --></A><H3>get</H3><PRE>public static <A HREF="../../../../org/archive/io/arc/ARCReader.html" title="class in org.archive.io.arc">ARCReader</A> <B>get</B>(java.lang.String arcFileOrUrl) throws java.net.MalformedURLException, java.io.IOException</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.net.MalformedURLException</CODE><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="get(java.lang.String, long)"><!-- --></A><H3>get</H3><PRE>public static <A HREF="../../../../org/archive/io/arc/ARCReader.html" title="class in org.archive.io.arc">ARCReader</A> <B>get</B>(java.lang.String arcFileOrUrl, long offset) throws java.net.MalformedURLException, java.io.IOException</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.net.MalformedURLException</CODE><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="get(java.io.File)"><!-- --></A><H3>get</H3><PRE>public static <A HREF="../../../../org/archive/io/arc/ARCReader.html" title="class in org.archive.io.arc">ARCReader</A> <B>get</B>(java.io.File f) throws java.io.IOException</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="get(java.io.File, long)"><!-- --></A><H3>get</H3><PRE>public static <A HREF="../../../../org/archive/io/arc/ARCReader.html" title="class in org.archive.io.arc">ARCReader</A> <B>get</B>(java.io.File f, long offset) throws java.io.IOException</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="getArchiveReader(java.io.File, long)"><!-- --></A><H3>getArchiveReader</H3><PRE>protected <A HREF="../../../../org/archive/io/ArchiveReader.html" title="class in org.archive.io">ArchiveReader</A> <B>getArchiveReader</B>(java.io.File f, long offset) throws java.io.IOException</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/archive/io/ArchiveReaderFactory.html#getArchiveReader(java.io.File, long)">getArchiveReader</A></CODE> in class <CODE><A HREF="../../../../org/archive/io/ArchiveReaderFactory.html" title="class in org.archive.io">ArchiveReaderFactory</A></CODE></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="get(java.io.File, boolean, long)"><!-- --></A><H3>get</H3><PRE>public static <A HREF="../../../../org/archive/io/arc/ARCReader.html" title="class in org.archive.io.arc">ARCReader</A> <B>get</B>(java.io.File f, boolean skipSuffixTest, long offset) throws java.io.IOException</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>f</CODE> - An arcfile to read.<DD><CODE>skipSuffixTest</CODE> - Set to true if want to test that ARC has proper suffix. Use this method and pass <code>false</code> to open ARCs with the <code>.open</code> or otherwise suffix.<DD><CODE>offset</CODE> - Have returned ARCReader set to start reading at passed offset.<DT><B>Returns:</B><DD>An ARCReader.<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="getArchiveReader(java.io.File, boolean, long)"><!-- --></A><H3>getArchiveReader</H3><PRE>protected <A HREF="../../../../org/archive/io/ArchiveReader.html" title="class in org.archive.io">ArchiveReader</A> <B>getArchiveReader</B>(java.io.File arcFile, boolean skipSuffixTest, long offset) throws java.io.IOException</PRE><DL><DD><DL></DL></DD><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="get(java.lang.String, java.io.InputStream, boolean)"><!-- --></A><H3>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -