?? memfiler.html
字號:
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> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../net/jxta/impl/xindice/core/filer/MemFiler.html#open()">open</A></B>()</CODE><BR> open opens the DBObject</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <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> key)</CODE><BR> 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> <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 pos)</CODE><BR> 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> 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 root, java.lang.String location)</CODE><BR> </TD></TR><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> 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> key, <A HREF="../../../../../../net/jxta/impl/xindice/core/data/Value.html" title="class in net.jxta.impl.xindice.core.data">Value</A> value)</CODE><BR> writeRecord writes a Value to the Filer based on the specified Key.</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"><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> <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 hashTable, boolean readOnly)</PRE><DL></DL><HR><A NAME="MemFiler(java.util.Map)"><!-- --></A><H3>MemFiler</H3><PRE>public <B>MemFiler</B>(java.util.Map 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 root, java.lang.String 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 + -