📄 btree.html
字号:
provided BTreeNode's page number.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>root</CODE> - The root to reset<DD><CODE>newRoot</CODE> - the new root node to use<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></CODE></DL></DD></DL><HR><A NAME="setRootNode(net.jxta.impl.xindice.core.filer.BTree.BTreeNode)"><!-- --></A><H3>setRootNode</H3><PRE>protected final void <B>setRootNode</B>(net.jxta.impl.xindice.core.filer.BTree.BTreeNode rootNode) throws java.io.IOException, <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></PRE><DL><DD>setRootNode resets the file's root to the provided BTreeNode's page number.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>rootNode</CODE> - the new root node to use<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTreeException.html" title="class in net.jxta.impl.xindice.core.filer">BTreeException</A></CODE></DL></DD></DL><HR><A NAME="getRootNode(net.jxta.impl.xindice.core.filer.BTree.BTreeRootInfo)"><!-- --></A><H3>getRootNode</H3><PRE>protected final net.jxta.impl.xindice.core.filer.BTree.BTreeNode <B>getRootNode</B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeRootInfo.html" title="class in net.jxta.impl.xindice.core.filer">BTree.BTreeRootInfo</A> root)</PRE><DL><DD>getRootNode retreives the BTree node for the specified root object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>root</CODE> - The root object to retrieve with<DT><B>Returns:</B><DD>The root node</DL></DD></DL><HR><A NAME="getRootNode()"><!-- --></A><H3>getRootNode</H3><PRE>protected final net.jxta.impl.xindice.core.filer.BTree.BTreeNode <B>getRootNode</B>()</PRE><DL><DD>getRootNode retreives the BTree node for the file's root.<P><DD><DL><DT><B>Returns:</B><DD>The root node</DL></DD></DL><HR><A NAME="createFileHeader()"><!-- --></A><H3>createFileHeader</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>createFileHeader</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html" title="class in net.jxta.impl.xindice.core.filer">Paged</A></CODE></B></DD><DD>createFileHeader must be implemented by a Paged implementation in order to create an appropriate subclass instance of a FileHeader.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html#createFileHeader()">createFileHeader</A></CODE> in class <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html" title="class in net.jxta.impl.xindice.core.filer">Paged</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a new FileHeader</DL></DD></DL><HR><A NAME="createFileHeader(boolean)"><!-- --></A><H3>createFileHeader</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>createFileHeader</B>(boolean read) throws java.io.IOException</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html" title="class in net.jxta.impl.xindice.core.filer">Paged</A></CODE></B></DD><DD>createFileHeader must be implemented by a Paged implementation in order to create an appropriate subclass instance of a FileHeader.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html#createFileHeader(boolean)">createFileHeader</A></CODE> in class <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html" title="class in net.jxta.impl.xindice.core.filer">Paged</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>read</CODE> - If true, reads the FileHeader from disk<DT><B>Returns:</B><DD>a new FileHeader<DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE> - if an exception occurs</DL></DD></DL><HR><A NAME="createFileHeader(long)"><!-- --></A><H3>createFileHeader</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>createFileHeader</B>(long pageCount)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html" title="class in net.jxta.impl.xindice.core.filer">Paged</A></CODE></B></DD><DD>createFileHeader must be implemented by a Paged implementation in order to create an appropriate subclass instance of a FileHeader.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html#createFileHeader(long)">createFileHeader</A></CODE> in class <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html" title="class in net.jxta.impl.xindice.core.filer">Paged</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pageCount</CODE> - The number of pages to allocate for primary storage<DT><B>Returns:</B><DD>a new FileHeader</DL></DD></DL><HR><A NAME="createFileHeader(long, int)"><!-- --></A><H3>createFileHeader</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>createFileHeader</B>(long pageCount, int pageSize)</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html" title="class in net.jxta.impl.xindice.core.filer">Paged</A></CODE></B></DD><DD>createFileHeader must be implemented by a Paged implementation in order to create an appropriate subclass instance of a FileHeader.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html#createFileHeader(long, int)">createFileHeader</A></CODE> in class <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html" title="class in net.jxta.impl.xindice.core.filer">Paged</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>pageCount</CODE> - The number of pages to allocate for primary storage<DD><CODE>pageSize</CODE> - The size of a Page (should be a multiple of a FS block)<DT><B>Returns:</B><DD>a new FileHeader</DL></DD></DL><HR><A NAME="createPageHeader()"><!-- --></A><H3>createPageHeader</H3><PRE>public <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.PageHeader.html" title="class in net.jxta.impl.xindice.core.filer">Paged.PageHeader</A> <B>createPageHeader</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html" title="class in net.jxta.impl.xindice.core.filer">Paged</A></CODE></B></DD><DD>createPageHeader must be implemented by a Paged implementation in order to create an appropriate subclass instance of a PageHeader.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html#createPageHeader()">createPageHeader</A></CODE> in class <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/Paged.html" title="class in net.jxta.impl.xindice.core.filer">Paged</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a new PageHeader</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"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BTree.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>JXTA J2SE</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS <A HREF="../../../../../../net/jxta/impl/xindice/core/filer/BTree.BTreeFileHeader.html" title="class in net.jxta.impl.xindice.core.filer"><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> <A HREF="BTree.html" target="_top"><B>NO FRAMES</B></A> <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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -