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

📄 memfiler.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 3 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;isOpened returns whether or not the DBObject is opened for business.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/MemFiler.html#open()">open</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open opens the DBObject</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../net/jxta/impl/xindice/core/data/Record.html" title="class in net.jxta.impl.xindice.core.data">Record</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/MemFiler.html#readRecord(net.jxta.impl.xindice.core.data.Key)">readRecord</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/data/Key.html" title="class in net.jxta.impl.xindice.core.data">Key</A>&nbsp;key)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;readRecord returns a Record from the Filer based on the specified Key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../../../../net/jxta/impl/xindice/core/data/Record.html" title="class in net.jxta.impl.xindice.core.data">Record</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/MemFiler.html#readRecord(long)">readRecord</A></B>(long&nbsp;pos)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;readRecord returns a Record from the Filer at the specified position. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/MemFiler.html#setLocation(java.io.File, java.lang.String)">setLocation</A></B>(java.io.File&nbsp;root,            java.lang.String&nbsp;location)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/MemFiler.html#writeRecord(net.jxta.impl.xindice.core.data.Key, net.jxta.impl.xindice.core.data.Value)">writeRecord</A></B>(<A HREF="../../../../../../net/jxta/impl/xindice/core/data/Key.html" title="class in net.jxta.impl.xindice.core.data">Key</A>&nbsp;key,            <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A>&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;writeRecord writes a Value to the Filer based on the specified Key.</TD></TR></TABLE>&nbsp;<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"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><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 =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="MemFiler()"><!-- --></A><H3>MemFiler</H3><PRE>public <B>MemFiler</B>()</PRE><DL></DL><HR><A NAME="MemFiler(java.util.Map, boolean)"><!-- --></A><H3>MemFiler</H3><PRE>public <B>MemFiler</B>(java.util.Map&nbsp;hashTable,                boolean&nbsp;readOnly)</PRE><DL></DL><HR><A NAME="MemFiler(java.util.Map)"><!-- --></A><H3>MemFiler</H3><PRE>public <B>MemFiler</B>(java.util.Map&nbsp;hashTable)</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="setLocation(java.io.File, java.lang.String)"><!-- --></A><H3>setLocation</H3><PRE>public void <B>setLocation</B>(java.io.File&nbsp;root,                        java.lang.String&nbsp;location)</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public java.lang.String <B>getName</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../net/jxta/impl/xindice/util/Named.html" title="interface in net.jxta.impl.xindice.util">Named</A></CODE></B></DD><DD>getName retrieves the contextually important name of the object<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/util/Named.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../../../../net/jxta/impl/xindice/util/Named.html" title="interface in net.jxta.impl.xindice.util">Named</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The object's name</DL></DD></DL><HR><A NAME="create()"><!-- --></A><H3>create</H3><PRE>public boolean <B>create</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html" title="interface in net.jxta.impl.xindice.core">DBObject</A></CODE></B></DD><DD>create creates a new DBObject and any associated resources for the new DBObject, such as disk files, etc.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html#create()">create</A></CODE> in interface <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html" title="interface in net.jxta.impl.xindice.core">DBObject</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Whether or not the DBObject was created</DL></DD></DL><HR><A NAME="open()"><!-- --></A><H3>open</H3><PRE>public boolean <B>open</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html" title="interface in net.jxta.impl.xindice.core">DBObject</A></CODE></B></DD><DD>open opens the DBObject<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html#open()">open</A></CODE> in interface <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html" title="interface in net.jxta.impl.xindice.core">DBObject</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Whether or not the DBObject was opened</DL></DD></DL><HR><A NAME="isOpened()"><!-- --></A><H3>isOpened</H3><PRE>public boolean <B>isOpened</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html" title="interface in net.jxta.impl.xindice.core">DBObject</A></CODE></B></DD><DD>isOpened returns whether or not the DBObject is opened for business.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html#isOpened()">isOpened</A></CODE> in interface <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html" title="interface in net.jxta.impl.xindice.core">DBObject</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The open status of the DBObject</DL></DD></DL><HR><A NAME="exists()"><!-- --></A><H3>exists</H3><PRE>public boolean <B>exists</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html" title="interface in net.jxta.impl.xindice.core">DBObject</A></CODE></B></DD><DD>exists returns whether or not a physical representation of this DBObject actually exists.  In the case of a HashFiler, this would check for the file, and in the case of an FTPFiler, it might perform a connection check.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html#exists()">exists</A></CODE> in interface <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html" title="interface in net.jxta.impl.xindice.core">DBObject</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Whether or not the physical resource exists</DL></DD></DL><HR><A NAME="drop()"><!-- --></A><H3>drop</H3><PRE>public boolean <B>drop</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html" title="interface in net.jxta.impl.xindice.core">DBObject</A></CODE></B></DD><DD>drop instructs the DBObjectimplementation to remove itself from existence.  The DBObject's parent is responsible for removing any references to the DBObject in its own context.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html#drop()">drop</A></CODE> in interface <CODE><A HREF="../../../../../../net/jxta/impl/xindice/core/DBObject.html" title="interface in net.jxta.impl.xindice.core">DBObject</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>Whether or not the DBObject was dropped</DL></DD>

⌨️ 快捷键说明

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