📄 paged.html
字号:
<TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Paged()"><!-- --></A><H3>Paged</H3><PRE>public <B>Paged</B>()</PRE><DL></DL><HR><A NAME="Paged(java.io.File)"><!-- --></A><H3>Paged</H3><PRE>public <B>Paged</B>(java.io.File file)</PRE><DL></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="setFile(java.io.File)"><!-- --></A><H3>setFile</H3><PRE>protected final void <B>setFile</B>(java.io.File file)</PRE><DL><DD>setFile sets the file object for this Paged.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>file</CODE> - The File</DL></DD></DL><HR><A NAME="getFile()"><!-- --></A><H3>getFile</H3><PRE>protected final java.io.File <B>getFile</B>()</PRE><DL><DD>getFile returns the file object for this Paged.<P><DD><DL><DT><B>Returns:</B><DD>The File</DL></DD></DL><HR><A NAME="getDescriptor()"><!-- --></A><H3>getDescriptor</H3><PRE>protected final java.io.RandomAccessFile <B>getDescriptor</B>() throws java.io.IOException</PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="putDescriptor(java.io.RandomAccessFile)"><!-- --></A><H3>putDescriptor</H3><PRE>protected final void <B>putDescriptor</B>(java.io.RandomAccessFile raf)</PRE><DL><DD>Puts a RandomAccessFile/descriptor into the descriptor cache.<P><DD><DL></DL></DD></DL><HR><A NAME="getPage(java.lang.Long)"><!-- --></A><H3>getPage</H3><PRE>protected final <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.Page.html" title="class in net.jxta.impl.xindice.core.filer">Paged.Page</A> <B>getPage</B>(java.lang.Long lp) throws java.io.IOException</PRE><DL><DD>getPage returns the page specified by pageNum.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>lp</CODE> - The Page number<DT><B>Returns:</B><DD>The requested Page<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an Exception occurs</DL></DD></DL><HR><A NAME="getPage(long)"><!-- --></A><H3>getPage</H3><PRE>protected final <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.Page.html" title="class in net.jxta.impl.xindice.core.filer">Paged.Page</A> <B>getPage</B>(long pageNum) throws java.io.IOException</PRE><DL><DD>getPage returns the page specified by pageNum.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pageNum</CODE> - The Page number<DT><B>Returns:</B><DD>The requested Page<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an Exception occurs</DL></DD></DL><HR><A NAME="readValue(net.jxta.impl.xindice.core.filer.Paged.Page)"><!-- --></A><H3>readValue</H3><PRE>protected final <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A> <B>readValue</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.Page.html" title="class in net.jxta.impl.xindice.core.filer">Paged.Page</A> page) throws java.io.IOException</PRE><DL><DD>readValue reads the multi-Paged Value starting at the specified Page.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>page</CODE> - The starting Page<DT><B>Returns:</B><DD>The Value<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an Exception occurs</DL></DD></DL><HR><A NAME="readValue(long)"><!-- --></A><H3>readValue</H3><PRE>protected final <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A> <B>readValue</B>(long page) throws java.io.IOException</PRE><DL><DD>readValue reads the multi-Paged Value starting at the specified page number.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>page</CODE> - The starting page number<DT><B>Returns:</B><DD>The Value<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an Exception occurs</DL></DD></DL><HR><A NAME="writeValue(net.jxta.impl.xindice.core.filer.Paged.Page, net.jxta.impl.xindice.core.data.Value)"><!-- --></A><H3>writeValue</H3><PRE>protected final void <B>writeValue</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.Page.html" title="class in net.jxta.impl.xindice.core.filer">Paged.Page</A> page, <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A> value) throws java.io.IOException</PRE><DL><DD>writeValue writes the multi-Paged Value starting at the specified Page.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>page</CODE> - The starting Page<DD><CODE>value</CODE> - The Value to write<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an Exception occurs</DL></DD></DL><HR><A NAME="writeValue(long, net.jxta.impl.xindice.core.data.Value)"><!-- --></A><H3>writeValue</H3><PRE>protected final void <B>writeValue</B>(long page, <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A> value) throws java.io.IOException</PRE><DL><DD>writeValue writes the multi-Paged Value starting at the specified page number.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>page</CODE> - The starting page number<DD><CODE>value</CODE> - The Value to write<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an Exception occurs</DL></DD></DL><HR><A NAME="unlinkPages(net.jxta.impl.xindice.core.filer.Paged.Page)"><!-- --></A><H3>unlinkPages</H3><PRE>protected final void <B>unlinkPages</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.Page.html" title="class in net.jxta.impl.xindice.core.filer">Paged.Page</A> page) throws java.io.IOException</PRE><DL><DD>unlinkPages unlinks a set of pages starting at the specified Page.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>page</CODE> - The starting Page to unlink<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an Exception occurs</DL></DD></DL><HR><A NAME="unlinkPages(long)"><!-- --></A><H3>unlinkPages</H3><PRE>protected final void <B>unlinkPages</B>(long pageNum) throws java.io.IOException</PRE><DL><DD>unlinkPages unlinks a set of pages starting at the specified page number.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pageNum</CODE> - The starting page number to unlink<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an Exception occurs</DL></DD></DL><HR><A NAME="getFreePage()"><!-- --></A><H3>getFreePage</H3><PRE>protected final <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.Page.html" title="class in net.jxta.impl.xindice.core.filer">Paged.Page</A> <B>getFreePage</B>() throws java.io.IOException</PRE><DL><DD>getFreePage returns the first free Page from secondary storage. If no Pages are available, the file is grown as appropriate.<P><DD><DL><DT><B>Returns:</B><DD>The next free Page<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an Exception occurs</DL></DD></DL><HR><A NAME="checkOpened()"><!-- --></A><H3>checkOpened</H3><PRE>protected final void <B>checkOpened</B>() throws <A HREF="../../../../../../net/jxta/impl/xindice/core/DBException.html" title="class in net.jxta.impl.xindice.core">DBException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBException.html" title="class in net.jxta.impl.xindice.core">DBException</A></CODE></DL></DD></DL><HR><A NAME="getFileHeader()"><!-- --></A><H3>getFileHeader</H3><PRE>public <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.FileHeader.html" title="class in net.jxta.impl.xindice.core.filer">Paged.FileHeader</A> <B>getFileHeader</B>()</PRE><DL><DD>getFileHeader returns the FileHeader<P><DD><DL><DT><B>Returns:</B><DD>The FileHeader</DL></DD></DL><HR><A NAME="exists()"><!-- --></A><H3>exists</H3><PRE>public boolean <B>exists</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="create()"><!-- --></A><H3>create</H3><PRE>public boolean <B>create</B>() throws <A HREF="../../../../../../net/jxta/impl/xindice/core/DBException.html" title="class in net.jxta.impl.xindice.core">DBException</A></PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBException.html" title="class in net.jxta.impl.xindice.core">DBException</A></CODE></DL></DD></DL><HR><A NAME="open()"><!-- --></A><H3>open</H3><PRE>public boolean <B>open</B>() throws <A HREF="../../../../../../net/jxta/impl/xindice/core/DBException.html" title="class in net.jxta.impl.xindice.core">DBException</A></PRE><DL><DD><DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -