saveable.html

来自「数据挖掘方面最新软件」· HTML 代码 · 共 291 行 · 第 1/3 页

HTML
291
字号
<DL><DT><PRE>public interface <B>Saveable</B></DL></PRE><P>Interface for resultobjects that can be saved to disc. The <A HREF="../../../com/rapidminer/operator/ResultObjectAdapter.html" title="class in com.rapidminer.operator"><CODE>ResultObjectAdapter</CODE></A> automatically adds a save button for these objects.<P><P><DL><DT><B>Version:</B></DT>  <DD>$Id: Saveable.java,v 1.3 2008/05/09 19:23:18 ingomierswa Exp $</DD><DT><B>Author:</B></DT>  <DD>Ingo Mierswa</DD></DL><HR><P><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/operator/Saveable.html#getExtension()">getExtension</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the default extension in file choosers.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/rapidminer/operator/Saveable.html#getFileDescription()">getFileDescription</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the file description used in file choosers.</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="../../../com/rapidminer/operator/Saveable.html#isSavable()">isSavable</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates if this object is actually savable.</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="../../../com/rapidminer/operator/Saveable.html#save(java.io.File)">save</A></B>(java.io.File&nbsp;file)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes the object into the given file.</TD></TR></TABLE>&nbsp;<P><!-- ============ 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="isSavable()"><!-- --></A><H3>isSavable</H3><PRE>boolean <B>isSavable</B>()</PRE><DL><DD>Indicates if this object is actually savable. Objects which return false here  will not provide savability options, e.g. no Save button will be shown in the GUI.<P><DD><DL></DL></DD></DL><HR><A NAME="save(java.io.File)"><!-- --></A><H3>save</H3><PRE>void <B>save</B>(java.io.File&nbsp;file)          throws java.io.IOException</PRE><DL><DD>Writes the object into the given file.<P>

⌨️ 快捷键说明

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